Commit a5b9817b authored by He Guanlin's avatar He Guanlin
Browse files

Update main.h

parent 4f731c29
......@@ -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 32)
#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 32)
#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 32)
#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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment