Home
last modified time | relevance | path

Searched refs:nodes_bufsize (Results 1 – 1 of 1) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_shared_sub_buffers.cpp150 size_t nodes_bufsize = sizeof(Node)*ListLength*numLists; in test_svm_shared_sub_buffers() local
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()
156 … clMemWrapper nodes = clCreateBuffer(context, CL_MEM_USE_HOST_PTR, nodes_bufsize, pNodes, &error); in test_svm_shared_sub_buffers()
161 r.size = nodes_bufsize / 2; in test_svm_shared_sub_buffers()
165 r.origin = nodes_bufsize / 2; in test_svm_shared_sub_buffers()
174 r.size = nodes_bufsize / 2; in test_svm_shared_sub_buffers()
178 r.origin = nodes_bufsize / 2; in test_svm_shared_sub_buffers()