Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Vialle Stephane
CPU-GPU-kmeans
Commits
a5b9817b
Commit
a5b9817b
authored
Jul 31, 2021
by
He Guanlin
Browse files
Update main.h
parent
4f731c29
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
main.h
main.h
+3
-3
No files found.
main.h
View file @
a5b9817b
...
...
@@ -11,11 +11,11 @@
// Adjustable block size
// - For ComputeAssign kernel
#define BSXN 128 // BLOCK_SIZE_X related to NbPoints (BSXN has to be in [
32
, 1024] &
divisible by 3
2)
#define BSXN 128 // BLOCK_SIZE_X related to NbPoints (BSXN has to be in [
1
, 1024] &
be a power of
2)
// - For UpdateCentroids kernel
#define BSXP 32 // BLOCK_SIZE_X related to NbPoints devided by NbPackages (BSXP has to be in [
32
, 1024] &
divisible by 3
2)
#define BSXP 32 // BLOCK_SIZE_X related to NbPoints devided by NbPackages (BSXP has to be in [
1
, 1024] &
be a power of
2)
#define BSYD 4 // BLOCK_SIZE_Y related to NbDims (BSXP*BSYD has to be in [NbClusters, 1024])
#define BSXK 32 // BLOCK_SIZE_X related to NbClusters (BSXK has to be in [
32
, 1024] &
divisible by 3
2)
#define BSXK 32 // BLOCK_SIZE_X related to NbClusters (BSXK has to be in [
1
, 1024] &
be a power of
2)
// Nb of streams
#define nStreams1 16 // Number of streams for Update_step1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment