cl20: Reuse test harness code in math_brute_force (#194)

Some of the setup functionality is already there in the test harness, so
use that and remove the duplicated code from within the suite.

Signed-off-by: Radek Szymanski <radek.szymanski@arm.com>
This commit is contained in:
Radek Szymanski
2019-04-22 12:04:24 +01:00
committed by Kévin Petit
parent 1b7bb286d6
commit dec06834bb
2 changed files with 47 additions and 145 deletions

View File

@@ -43,7 +43,6 @@ extern int gWimpyReductionFactor;
extern const char *sizeNames[VECTOR_SIZE_COUNT];
extern const int sizeValues[VECTOR_SIZE_COUNT];
extern cl_device_type gDeviceType;
extern cl_device_id gDevice;
extern cl_context gContext;
extern cl_command_queue gQueue;