/external/OpenCL-CTS/test_conformance/printf/ |
D | test_printf.cpp | 108 static cl_context gContext; variable 583 return doTest(gQueue, gContext, TYPE_INT, 0, deviceID); in test_int_0() 587 return doTest(gQueue, gContext, TYPE_INT, 1, deviceID); in test_int_1() 591 return doTest(gQueue, gContext, TYPE_INT, 2, deviceID); in test_int_2() 595 return doTest(gQueue, gContext, TYPE_INT, 3, deviceID); in test_int_3() 599 return doTest(gQueue, gContext, TYPE_INT, 4, deviceID); in test_int_4() 603 return doTest(gQueue, gContext, TYPE_INT, 5, deviceID); in test_int_5() 607 return doTest(gQueue, gContext, TYPE_INT, 6, deviceID); in test_int_6() 611 return doTest(gQueue, gContext, TYPE_INT, 7, deviceID); in test_int_7() 615 return doTest(gQueue, gContext, TYPE_INT, 8, deviceID); in test_int_8() [all …]
|
/external/OpenCL-CTS/test_conformance/half/ |
D | cl_utils.cpp | 55 cl_context gContext = NULL; variable 115 gContext = clCreateContext( NULL, 1, &device, notify_callback, NULL, &error ); in InitCL() 116 if( NULL == gContext ) in InitCL() 122 gQueue = clCreateCommandQueue(gContext, device, 0, &error); in InitCL() 155 …gInBuffer_half = clCreateBuffer(gContext, CL_MEM_READ_ONLY, getBufferSize(device) / 2, NULL, &erro… in InitCL() 162 gInBuffer_single = clCreateBuffer(gContext, CL_MEM_READ_ONLY, BUFFER_SIZE, NULL, &error ); in InitCL() 169 gInBuffer_double = clCreateBuffer(gContext, CL_MEM_READ_ONLY, BUFFER_SIZE*2, NULL, &error ); in InitCL() 176 gOutBuffer_half = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, BUFFER_SIZE/2, NULL, &error ); in InitCL() 183 …gOutBuffer_single = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, getBufferSize(device), NULL, &erro… in InitCL() 191 …gOutBuffer_double = clCreateBuffer(gContext, CL_MEM_WRITE_ONLY, (size_t)(2*getBufferSize(device)),… in InitCL() [all …]
|
D | cl_utils.h | 64 extern cl_context gContext;
|
/external/icu/icu4c/source/test/cintltst/ |
D | hpmufn.c | 86 const void *gContext; variable 145 u_setMemoryFunctions(&gContext, NULL, myMemRealloc, myMemFree, &status); in TestHeapFunctions() 148 u_setMemoryFunctions(&gContext, myMemAlloc, NULL, myMemFree, &status); in TestHeapFunctions() 151 u_setMemoryFunctions(&gContext, myMemAlloc, myMemRealloc, NULL, &status); in TestHeapFunctions() 158 u_setMemoryFunctions(&gContext, myMemAlloc, myMemRealloc, myMemFree, &status); in TestHeapFunctions()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | main.cpp | 58 cl_context gContext = NULL; variable 657 gContext = clCreateContext(NULL, 1, &gDevice, bruteforce_notify_callback, in InitCL() 659 if (NULL == gContext || error) in InitCL() 665 gQueue = clCreateCommandQueue(gContext, gDevice, 0, &error); in InitCL() 711 clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn, &error); in InitCL() 719 clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn2, &error); in InitCL() 727 clCreateBuffer(gContext, device_flags, BUFFER_SIZE, gIn3, &error); in InitCL() 744 gOutBuffer[i] = clCreateBuffer(gContext, device_flags, BUFFER_SIZE, in InitCL() 751 gOutBuffer2[i] = clCreateBuffer(gContext, device_flags, BUFFER_SIZE, in InitCL() 874 clReleaseContext(gContext); in ReleaseCL() [all …]
|
D | utility.h | 44 extern cl_context gContext;
|
D | macro_unary_double.cpp | 234 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestMacro_Int_Double()
|
D | unary_double.cpp | 245 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Double_Double()
|
D | macro_unary_float.cpp | 234 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestMacro_Int_Float()
|
D | unary_float.cpp | 245 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Float_Float()
|
D | binary_i_double.cpp | 388 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Double_Double_Int()
|
D | macro_binary_float.cpp | 357 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestMacro_Int_Float_Float()
|
D | binary_i_float.cpp | 381 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Float_Float_Int()
|
D | macro_binary_double.cpp | 366 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestMacro_Int_Double_Double()
|
D | binary_operator_double.cpp | 381 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Double_Double_Double_Operator()
|
D | binary_double.cpp | 387 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Double_Double_Double()
|
D | binary_float.cpp | 378 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Float_Float_Float()
|
D | binary_operator_float.cpp | 373 clCreateCommandQueue(gContext, gDevice, 0, &error); in TestFunc_Float_Float_Float_Operator()
|
/external/OpenCL-CTS/test_conformance/contractions/ |
D | contractions.cpp | 69 cl_context gContext = NULL; variable 485 gContext = clCreateContext( NULL, 1, &device, notify_callback, NULL, &error ); in InitCL() 486 if( NULL == gContext || error ) in InitCL() 492 gQueue = clCreateCommandQueue( gContext, device, 0, &error ); in InitCL() 500 bufA = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() 501 bufB = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() 502 bufC = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() 503 bufD = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() 504 bufE = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() 518 bufC_double = clCreateBuffer( gContext, CL_MEM_READ_WRITE, BUFFER_SIZE, NULL, NULL ); in InitCL() [all …]
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | test_conversions.cpp | 76 cl_context gContext = NULL; variable 332 clReleaseContext(gContext); in main() 650 gContext = clCreateContext( NULL, 1, &device, notify_callback, NULL, &error ); in InitCL() 651 if( NULL == gContext || error ) in InitCL() 657 gQueue = clCreateCommandQueue(gContext, device, 0, &error); in InitCL() 677 …gInBuffer = clCreateBuffer(gContext, CL_MEM_READ_ONLY | CL_MEM_ALLOC_HOST_PTR, BUFFER_SIZE, NULL, … in InitCL() 687 …gOutBuffers[i] = clCreateBuffer( gContext, CL_MEM_READ_WRITE | CL_MEM_ALLOC_HOST_PTR, BUFFER_SIZE… in InitCL() 1085 writeInputBufferInfo.calcReferenceValues = clCreateUserEvent( gContext, &error); in DoTest() 1105 writeInputBufferInfo.doneBarrier = clCreateUserEvent( gContext, &error); in DoTest() 1671 …error = create_single_kernel_helper(gContext, &program, outKernel, (cl_uint)stringCount, strings, … in MakeProgram()
|