make miscchecks

This commit is contained in:
Philippe Teuwen 2021-06-04 21:56:47 +02:00
commit 1f27be076b
12 changed files with 274 additions and 274 deletions

View file

@ -37,4 +37,4 @@ clCreateEventFromGLsyncKHR(cl_context context,
}
#endif
#endif /* __OPENCL_CL_GL_EXT_H */
#endif /* __OPENCL_CL_GL_EXT_H */

View file

@ -36,7 +36,7 @@
#include "dolphin_macro.h"
#if defined(__MINGW64__)
#define timersub(a, b, result) \
#define timersub(a, b, result) \
do { \
(result)->tv_sec = (a)->tv_sec - (b)->tv_sec; \
(result)->tv_usec = (a)->tv_usec - (b)->tv_usec; \
@ -300,7 +300,7 @@ int main(int argc, char **argv) {
printf("\n");
}
if (dev_sel[0] == 0xff) printf("Devices selected : ALL\n");
if (dev_sel[0] == 0xff) printf("Devices selected : ALL\n");
else {
printf("Devices selected : %u", dev_sel[0]);
for (unsigned int i = 1; i < dev_cnt; i++) printf(", %u", dev_sel[i]);

View file

@ -104,7 +104,7 @@ typedef struct opencl_ctx {
cl_program *programs; // compute program's
cl_kernel *kernels; // compute kernel's
// cl_mem cand_base; // device memory used for the candidate base
// cl_mem cand_base; // device memory used for the candidate base
cl_mem *keystreams; // device memory used for the keystream array
cl_mem *candidates; // device memory used for the candidates array
cl_mem *matches; // device memory used for the matches array