/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_cross_buffer_pointers.cpp | 78 …ts_on_host(cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists ) in create_linked_lists_on_host() argument 84 … nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NULL,NULL, &e… in create_linked_lists_on_host() 87 …nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NULL,NULL, &e… in create_linked_lists_on_host() 90 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host() 102 …st(int ci, cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists ) in verify_linked_lists_on_host() argument 108 …odes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, NULL,NULL, &e… in verify_linked_lists_on_host() 110 …des2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, NULL,NULL, &e… in verify_linked_lists_on_host() 113 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host() 142 size_t numLists = num_elements; in test_svm_cross_buffer_pointers_coarse_grain() local 152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain() [all …]
|
D | test_shared_address_space_coarse_grain.cpp | 19 …mand_queue cmdq, cl_mem nodes, Node *pNodes2, cl_int ListLength, size_t numLists, cl_bool useNewAP… in create_linked_lists_on_host() argument 28 … nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NULL,NULL, &e… in create_linked_lists_on_host() 34 …mdq, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLength*numLists, 0, NULL,NULL); in create_linked_lists_on_host() 38 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host() 57 …mand_queue cmdq, cl_mem nodes, Node *pNodes2, cl_int ListLength, size_t numLists, cl_bool useNewAP… in verify_linked_lists_on_host() argument 65 …odes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, NULL,NULL, &e… in verify_linked_lists_on_host() 71 …q, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, pNodes2, sizeof(Node)*ListLength * numLists, 0, NULL,NULL); in verify_linked_lists_on_host() 77 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host() 96 …(int ci, cl_command_queue cmdq, cl_mem allocator, cl_kernel kernel_create_lists, size_t numLists ) in create_linked_lists_on_device() argument 104 …*pAllocator = numLists; // the first numLists elements of the nodes array are already allocated … in create_linked_lists_on_device() [all …]
|
D | test_shared_sub_buffers.cpp | 71 …on_host_sb(cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists ) in create_linked_lists_on_host_sb() argument 77 … nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NULL,NULL, &e… in create_linked_lists_on_host_sb() 80 …nodes2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength*numLists, 0, NULL,NULL, &e… in create_linked_lists_on_host_sb() 83 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host_sb() 95 …sb(int ci, cl_command_queue cmdq, cl_mem nodes, cl_mem nodes2, cl_int ListLength, size_t numLists ) in verify_linked_lists_on_host_sb() argument 101 …odes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, NULL,NULL, &e… in verify_linked_lists_on_host_sb() 103 …des2, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(Node)*ListLength * numLists, 0, NULL,NULL, &e… in verify_linked_lists_on_host_sb() 106 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host_sb() 139 size_t numLists = num_elements; in test_svm_shared_sub_buffers() local 140 …if(numLists & 0x1) numLists++; // force even size, so we can easily create two sub-buffers of same… in test_svm_shared_sub_buffers() [all …]
|
D | test_shared_address_space_fine_grain_buffers.cpp | 21 …nt ci, cl_command_queue cmdq, size_t* pAllocator, cl_kernel kernel_create_lists, size_t numLists ) in create_linked_lists_on_device_no_map() argument 27 …*pAllocator = numLists; // the first numLists elements of the nodes array are already allocated … in create_linked_lists_on_device_no_map() 28 …error = clEnqueueNDRangeKernel(cmdq, kernel_create_lists, 1, NULL, &numLists, NULL, 0, NULL, NULL); in create_linked_lists_on_device_no_map() 35 …ueue cmdq,cl_int* pNumCorrect, cl_kernel kernel_verify_lists, cl_int ListLength, size_t numLists ) in verify_linked_lists_on_device_no_map() argument 43 …error = clEnqueueNDRangeKernel(cmdq, kernel_verify_lists, 1, NULL, &numLists, NULL, 0, NULL, NULL); in verify_linked_lists_on_device_no_map() 49 if(correct_count != ListLength * (cl_uint)numLists) in verify_linked_lists_on_device_no_map() 76 size_t numLists = num_elements; in test_svm_shared_address_space_fine_grain_buffers() local 86 …oc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BUFFER, sizeof(Node)*ListLength*numLists, 0); in test_svm_shared_address_space_fine_grain_buffers() 112 create_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain_buffers() 116 … = create_linked_lists_on_device_no_map(ci, queues[ci], pAllocator, kernel_create_lists, numLists); in test_svm_shared_address_space_fine_grain_buffers() [all …]
|
D | test_shared_address_space_fine_grain.cpp | 35 size_t numLists = num_elements; in test_svm_shared_address_space_fine_grain() local 46 Node* pNodes = (Node*) align_malloc(numLists*ListLength*sizeof(Node),128); in test_svm_shared_address_space_fine_grain() 76 create_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain() 80 … = create_linked_lists_on_device_no_map(ci, queues[ci], pAllocator, kernel_create_lists, numLists); in test_svm_shared_address_space_fine_grain() 86 error = verify_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain() 91 …ed_lists_on_device_no_map(vi, queues[vi], pNum_correct, kernel_verify_lists, ListLength, numLists); in test_svm_shared_address_space_fine_grain()
|
D | common.h | 79 …_lists_on_device(int qi, cl_command_queue q, cl_mem allocator, cl_kernel k, size_t numLists ); 80 …t qi, cl_command_queue q, cl_mem num_correct, cl_kernel k, cl_int ListLength, size_t numLists ); 81 …on_device_no_map(int qi, cl_command_queue q, size_t *pAllocator, cl_kernel k, size_t numLists ); 82 …t qi, cl_command_queue q, cl_int *pNum_correct, cl_kernel k, cl_int ListLength, size_t numLists );
|
/external/deqp/modules/gles3/scripts/ |
D | gen-swizzles.py | 97 self.numLists = len(args)
|
/external/deqp/modules/gles2/scripts/ |
D | gen-swizzles.py | 97 self.numLists = len(args)
|