MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / run_test

Function run_test

test_conformance/integer_ops/test_int_basic_ops.cpp:875–884  ·  view source on GitHub ↗

Run all tests for a given type

Source from the content-addressed store, hash-verified

873
874// Run all tests for a given type
875int run_test(cl_device_id deviceID, cl_context context, cl_command_queue queue, int num_elements, ExplicitType type, int num) {
876 int errors = 0;
877 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 1, kBothVectors, num, type, -1);
878 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 2, kBothVectors, num, type, -1);
879 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 3, kBothVectors, num, type, -1);
880 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 4, kBothVectors, num, type, -1);
881 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 8, kBothVectors, num, type, -1);
882 errors += test_integer_ops_threaded(deviceID, context, queue, 1024*1024*2, 16, kBothVectors, num, type, -1);
883 return errors;
884}
885
886
887// -----------------

Callers 15

test_longFunction · 0.70
test_quick_longFunction · 0.70
test_ulongFunction · 0.70
test_quick_ulongFunction · 0.70
test_intFunction · 0.70
test_quick_intFunction · 0.70
test_uintFunction · 0.70
test_quick_uintFunction · 0.70
test_shortFunction · 0.70
test_quick_shortFunction · 0.70
test_ushortFunction · 0.70
test_quick_ushortFunction · 0.70

Calls 1

Tested by

no test coverage detected