minor update

This commit is contained in:
Blaise Tine 2020-03-29 00:40:02 -04:00
parent c8a6470595
commit 002d8fbec9
3 changed files with 3 additions and 1 deletions

View file

@ -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.

View file

@ -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