make miscchecks

This commit is contained in:
Philippe Teuwen committed 2021-06-04 21:58:38 +02:00
1 parent af6ff40748
commit 1f27be076b
12 files changed
+274 -274

No files matched your search

@@ -37,4 +37,4 @@ clCreateEventFromGLsyncKHR(cl_context context,
}
#endif
#endif /* __OPENCL_CL_GL_EXT_H */
#endif /* __OPENCL_CL_GL_EXT_H */
@@ -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]);
+1 -1
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