@@ -119,7 +119,7 @@ test_coo_opencl_func(void *buffers[], void *args)
0,
NULL,
NULL);
- if (coo_config.copy_failed != 0)
+ if (coo_config.copy_failed != SUCCESS)
{
fprintf(stderr, "FUCK copy_failed %d\n",
coo_config.copy_failed);
@@ -95,7 +95,7 @@ void test_multiformat_mic_func(void *buffers[], void *args)
FPRINTF(stderr, "(%d %d) [%d]", soa->x[i], soa->y[i], factor);
if (soa->x[i] != i * factor || soa->y[i] != i * factor)
- multiformat_config.copy_failed = 1;
+ multiformat_config.copy_failed = FAILURE;
}
soa->x[i] = -soa->x[i];
soa->y[i] = -soa->y[i];