|
|
@ -355,8 +355,8 @@ _clState *initCl(unsigned int gpu, char *name, size_t nameSize) |
|
|
|
break; |
|
|
|
break; |
|
|
|
case KL_NONE: /* Shouldn't happen */ |
|
|
|
case KL_NONE: /* Shouldn't happen */ |
|
|
|
case KL_PHATK: |
|
|
|
case KL_PHATK: |
|
|
|
strcpy(filename, "phatk2_2.cl"); |
|
|
|
strcpy(filename, "phatk110816.cl"); |
|
|
|
strcpy(binaryfilename, "phatk2_2"); |
|
|
|
strcpy(binaryfilename, "phatk110816"); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -502,7 +502,7 @@ build: |
|
|
|
|
|
|
|
|
|
|
|
/* create a cl program executable for all the devices specified */ |
|
|
|
/* create a cl program executable for all the devices specified */ |
|
|
|
char CompilerOptions[256]; |
|
|
|
char CompilerOptions[256]; |
|
|
|
sprintf(CompilerOptions, "%s%i", "-DWORKSIZE=", clState->work_size); |
|
|
|
sprintf(CompilerOptions, "%s%i", "-DWORKSIZE=", (int)clState->work_size); |
|
|
|
//int n = 1000;
|
|
|
|
//int n = 1000;
|
|
|
|
//while(n--)
|
|
|
|
//while(n--)
|
|
|
|
// printf("%s", CompilerOptions);
|
|
|
|
// printf("%s", CompilerOptions);
|
|
|
|