minor update
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
#include "../../../runtime/config.h"
|
||||
|
||||
#define MAX_CORES NUMBER_CORES
|
||||
|
||||
#define MAX_WARPS NW
|
||||
|
||||
#define MAX_THREADS NT
|
||||
|
||||
Binary file not shown.
@@ -55,7 +55,7 @@ int main(int argc, char *argv[]) {
|
||||
kernel_arg_t kernel_arg;
|
||||
|
||||
uint32_t stride = BLOCK_SIZE / sizeof(uint32_t);
|
||||
uint32_t num_points = MAX_WARPS * MAX_THREADS * stride;
|
||||
uint32_t num_points = MAX_CORES * MAX_WARPS * MAX_THREADS * stride;
|
||||
uint32_t buf_size = num_points * sizeof(uint32_t);
|
||||
|
||||
// parse command arguments
|
||||
|
||||
Reference in New Issue
Block a user