From 3b7056decd80c3f748964268c302caf821402ac1 Mon Sep 17 00:00:00 2001 From: Grzegorz Wawiorko Date: Thu, 19 Dec 2019 12:13:56 +0100 Subject: [PATCH] Fixes issue #502 - bruteforce do not need build option (#525) --- test_conformance/math_brute_force/main.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test_conformance/math_brute_force/main.c b/test_conformance/math_brute_force/main.c index aaa0a8be..91951577 100644 --- a/test_conformance/math_brute_force/main.c +++ b/test_conformance/math_brute_force/main.c @@ -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) {