mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
c8a6470595
commit
002d8fbec9
3 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue