cl21: Reuse test harness code in math_brute_force (#195)

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:05:22 +01:00
committed by Kévin Petit
parent cba9dcebe5
commit d3d302187f
2 changed files with 50 additions and 147 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;