revert saxpy change and fix stage_1_cycles not working

This commit is contained in:
wgulian3
2020-03-20 04:49:02 -04:00
parent 05b7ffff12
commit 1c82f9a11d
2 changed files with 3 additions and 3 deletions

View File

@@ -153,7 +153,7 @@ int main(int argc, char **argv) {
}
cl_event kernel_completion;
size_t global_work_size[1] = {NUM_DATA/2,NUM_DATA/2};
size_t global_work_size[1] = {NUM_DATA};
printf("attempting to enqueue kernel\n");
fflush(stdout);
CL_CHECK(clEnqueueNDRangeKernel(queue, kernel, 1, NULL, global_work_size,

View File

@@ -141,7 +141,7 @@
// Number of Word requests per cycle {1, 2, 4, 8, ...}
`define DNUMBER_REQUESTS `NT
// Number of cycles to complete stage 1 (read from memory)
`define DSTAGE_1_CYCLES 4
`define DSTAGE_1_CYCLES 2
// Function ID
`define DFUNC_ID 0
@@ -192,7 +192,7 @@
// Number of Word requests per cycle {1, 2, 4, 8, ...}
`define INUMBER_REQUESTS 1
// Number of cycles to complete stage 1 (read from memory)
`define ISTAGE_1_CYCLES 4
`define ISTAGE_1_CYCLES 2
// Function ID
`define IFUNC_ID 1