/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_fine_grain_sync_buffers.cpp | 65 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers() 66 …cl_uint *pNumTargetsFound = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers() 67 …cl_int *pTargetLocations = (cl_int* ) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRA… in test_svm_fine_grain_sync_buffers()
|
D | test_set_kernel_exec_info_svm_ptrs.cpp | 66 int* pA = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 67 int* pB = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 68 int* pC = (int*) clSVMAlloc(c, CL_MEM_READ_WRITE, size, 0); in test_svm_set_kernel_exec_info_svm_ptrs() 69 BufPtrs* pBuf = (BufPtrs*) clSVMAlloc(c, CL_MEM_READ_WRITE, sizeof(BufPtrs), 0); in test_svm_set_kernel_exec_info_svm_ptrs()
|
D | test_shared_address_space_fine_grain_buffers.cpp | 86 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, sizeo… in test_svm_shared_address_space_fine_grain_buffers() 89 …size_t *pAllocator = (size_t*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFE… in test_svm_shared_address_space_fine_grain_buffers() 92 …cl_int *pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFF… in test_svm_shared_address_space_fine_grain_buffers()
|
D | test_fine_grain_memory_consistency.cpp | 71 …cl_uint *pInputImage = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_ONLY | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify() 72 …BinNode *pNodes = (BinNode*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify() 73 …cl_int *pNumNodes = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN… in launch_kernels_and_verify()
|
D | test_pointer_passing.cpp | 53 …cl_uchar *pbuf_svm_alloc = (cl_uchar*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_uchar)*buf… in test_svm_pointer_passing() 56 pNumCorrect = (cl_int*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(cl_int), 0); in test_svm_pointer_passing()
|
D | test_byte_granularity.cpp | 75 …cl_char *pA = (cl_char*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, siz… in test_svm_byte_granularity() 80 …error_counts[i] = (cl_uint*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER,… in test_svm_byte_granularity()
|
D | test_enqueue_api.cpp | 149 cl_uchar *srcBuffer = (cl_uchar *)clSVMAlloc(context, CL_MEM_READ_WRITE, data_size, 0); in test_svm_enqueue_api() 150 cl_uchar *dstBuffer = (cl_uchar *)clSVMAlloc(context, CL_MEM_READ_WRITE, data_size, 0); in test_svm_enqueue_api() 274 …for(size_t i = 0; i < numSVMBuffers; ++i) buffers[i] = clSVMAlloc(context, CL_MEM_READ_WRITE, elem… in test_svm_enqueue_api()
|
D | test_cross_buffer_pointers.cpp | 152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain() 155 …Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0… in test_svm_cross_buffer_pointers_coarse_grain()
|
D | test_migrate.cpp | 120 char* asvm = (char*)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate() 126 char* bsvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate() 133 char* csvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
|
D | test_shared_sub_buffers.cpp | 151 Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers() 152 Node* pNodes2 = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers()
|
D | test_allocate_shared_buffer.cpp | 74 cl_char *pBufData1 = (cl_char*) clSVMAlloc(context, flag_set[i], size, 0); in test_svm_allocate_shared_buffer()
|
D | test_shared_address_space_coarse_grain.cpp | 177 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in shared_address_space_coarse_grain()
|
/external/mesa3d/src/gallium/frontends/clover/api/ |
D | dispatch.cpp | 153 clSVMAlloc,
|
D | platform.cpp | 192 { "clSVMAllocARM", reinterpret_cast<void *>(clSVMAlloc) },
|
D | memory.cpp | 436 clSVMAlloc(cl_context d_ctx, in clSVMAlloc() function
|
/external/angle/src/libOpenCL/ |
D | libOpenCL_autogen.map | 119 clSVMAlloc;
|
D | libOpenCL_autogen.cpp | 937 void *CL_API_CALL clSVMAlloc(cl_context context, in clSVMAlloc() function 942 return cl::GetDispatch().clSVMAlloc(context, flags, size, alignment); in clSVMAlloc()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | opencl_wrapper.cc | 147 LoadFunction(clSVMAlloc); in LoadOpenCLFunctions() 265 PFN_clSVMAlloc clSVMAlloc; in LoadOpenCLFunctions() variable
|
D | opencl_wrapper.h | 552 extern PFN_clSVMAlloc clSVMAlloc;
|
/external/angle/src/libGLESv2/ |
D | cl_dispatch_table.cpp | 164 cl::clSVMAlloc,
|
D | proc_table_cl_autogen.cpp | 122 {"clSVMAlloc", P(::cl::clSVMAlloc)}, in GetProcTable()
|
/external/OpenCL-CTS/test_conformance/generic_address_space/ |
D | advanced_tests.cpp | 170 ptr = clSVMAlloc(context, CL_MEM_READ_WRITE, bufferSize, 0); in ExecuteSubcase() 173 … ptr = clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_READ_WRITE, bufferSize, 0); in ExecuteSubcase() 179 …ptr = clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_ATOMICS | CL_MEM_READ_WRITE, b… in ExecuteSubcase()
|
/external/OpenCL-CTS/test_conformance/api/ |
D | test_api_consistency.cpp | 71 void* ptr0 = clSVMAlloc(context, CL_MEM_READ_WRITE, allocSize, 0); in test_consistency_svm() 72 void* ptr1 = clSVMAlloc(context, CL_MEM_READ_WRITE, allocSize, 0); in test_consistency_svm()
|
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | common.h | 1081 …svmAtomicBuffer = (HostAtomicType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | CL_MEM_SVM_A… in ExecuteSingleTest() 1107 …svmDataBuffer = (HostDataType*)clSVMAlloc(context, CL_MEM_SVM_FINE_GRAIN_BUFFER | (SVMDataBufferAl… in ExecuteSingleTest()
|
/external/angle/src/libANGLE/renderer/cl/ |
D | CLPlatformCL.cpp | 268 mNative->getDispatch().clSVMAlloc == nullptr || in createInfo()
|