Fixes issue #502 - bruteforce do not need build option (#525)

This commit is contained in:
Grzegorz Wawiorko
2019-12-19 12:13:56 +01:00
committed by Kévin Petit
parent 334650bcca
commit 3b7056decd

View File

@@ -1705,9 +1705,7 @@ int IsTininessDetectedBeforeRounding( void )
int MakeKernel( const char **c, cl_uint count, const char *name, cl_kernel *k, cl_program *p )
{
int error = 0;
char options[200];
strcpy(options, "-cl-std=CL2.0");
char options[200] = "";
if( gForceFTZ )
{
@@ -1745,9 +1743,7 @@ int MakeKernels( const char **c, cl_uint count, const char *name, cl_uint kernel
{
int error = 0;
cl_uint i;
char options[200];
strcpy(options, "-cl-std=CL2.0");
char options[200] = "";
if (gForceFTZ)
{