Révision 249
Pi/C/OpenCL/PiOpenCL.c (revision 249) | ||
---|---|---|
15 | 15 |
// #5 Loops (to improve statistics) |
16 | 16 |
// #6 Type of variables INT32, INT64, FP32, FP64 |
17 | 17 |
// |
18 |
// To compile : gcc -o PiOpenCL PiOpenCL.c -lOpenCL |
|
18 |
// To compile : gcc -o PiOpenCL PiOpenCL.c -lOpenCL -lm
|
|
19 | 19 |
|
20 | 20 |
#define CL_USE_DEPRECATED_OPENCL_1_2_APIS |
21 | 21 |
#include <stdio.h> |
... | ... | |
297 | 297 |
Iterations=(uint64_t)atoll(argv[3]); |
298 | 298 |
} |
299 | 299 |
|
300 |
uint32_t ParallelRate=64;
|
|
300 |
uint32_t ParallelRate=1024;
|
|
301 | 301 |
if (argc>4) { |
302 | 302 |
ParallelRate=(uint32_t)atoi(argv[4]); |
303 | 303 |
} |
Formats disponibles : Unified diff