/external/OpenCL-CTS/test_conformance/SVM/ |
D | test_shared_address_space_coarse_grain.cpp | 25 Node *pNodes; in create_linked_lists_on_host() local 28 …pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(No… in create_linked_lists_on_host() 29 test_error2(error, pNodes, "clEnqMapBuffer failed"); in create_linked_lists_on_host() 33 pNodes = pNodes2; in create_linked_lists_on_host() 35 test_error2(error, pNodes, "clEnqueueSVMMap failed"); in create_linked_lists_on_host() 38 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host() 42 error = clEnqueueUnmapMemObject(cmdq, nodes, pNodes, 0,NULL,NULL); in create_linked_lists_on_host() 62 Node *pNodes; in verify_linked_lists_on_host() local 65 …pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, sizeof(No… in verify_linked_lists_on_host() 66 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_host() [all …]
|
D | test_cross_buffer_pointers.cpp | 84 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in create_linked_lists_on_host() local 85 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in create_linked_lists_on_host() 90 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host() 92 error = clEnqueueUnmapMemObject(cmdq, nodes, pNodes, 0,NULL,NULL); in create_linked_lists_on_host() 108 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in verify_linked_lists_on_host() local 109 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_host() 111 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_host() 113 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host() 116 error = clEnqueueUnmapMemObject(cmdq, nodes, pNodes, 0,NULL,NULL); in verify_linked_lists_on_host() 152 …Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, sizeof(Node)*ListLength*numLists, 0); in test_svm_cross_buffer_pointers_coarse_grain() local [all …]
|
D | test_shared_sub_buffers.cpp | 77 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in create_linked_lists_on_host_sb() local 78 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in create_linked_lists_on_host_sb() 83 create_linked_lists(pNodes, numLists, ListLength); in create_linked_lists_on_host_sb() 85 error = clEnqueueUnmapMemObject(cmdq, nodes, pNodes, 0,NULL,NULL); in create_linked_lists_on_host_sb() 101 …Node *pNodes = (Node*) clEnqueueMapBuffer(cmdq, nodes, CL_TRUE, CL_MAP_READ | CL_MAP_WRITE, 0, siz… in verify_linked_lists_on_host_sb() local 102 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_host_sb() 104 test_error2(error, pNodes, "clEnqueueMapBuffer failed"); in verify_linked_lists_on_host_sb() 106 error = verify_linked_lists(pNodes, numLists, ListLength); in verify_linked_lists_on_host_sb() 109 error = clEnqueueUnmapMemObject(cmdq, nodes, pNodes, 0,NULL,NULL); in verify_linked_lists_on_host_sb() 151 Node* pNodes = (Node*) clSVMAlloc(context, CL_MEM_READ_WRITE, nodes_bufsize, 0); in test_svm_shared_sub_buffers() local [all …]
|
D | test_fine_grain_memory_consistency.cpp | 46 void build_hash_table_on_host(cl_context c, cl_uint* input, size_t inputSize, BinNode* pNodes, cl_i… in build_hash_table_on_host() argument 50 BinNode *pNew = &pNodes[ AtomicFetchAddExplicit(pNumNodes, 1, memory_order_relaxed) ]; in build_hash_table_on_host() 54 BinNode *next = pNodes[b].pNext; in build_hash_table_on_host() 57 …} while(!AtomicCompareExchangeStrongExplicit(&(pNodes[b].pNext), &next, pNew, memory_order_relaxed… in build_hash_table_on_host() 66 …BinNode *pNodes = (BinNode*) clSVMAlloc(context, CL_MEM_READ_WRITE | CL_MEM_SVM_FINE_GRAIN_BU… in launch_kernels_and_verify() local 71 pNodes[i].pNext = NULL; in launch_kernels_and_verify() 77 err |= clSetKernelArgSVMPointer(kernel, 1, pNodes); in launch_kernels_and_verify() 95 build_hash_table_on_host(context, pInputImage, num_pixels, pNodes, pNumNodes, numBins); in launch_kernels_and_verify() 103 BinNode *pNode = pNodes[i].pNext; in launch_kernels_and_verify() 118 clSVMFree(context, pNodes); in launch_kernels_and_verify()
|
D | test_shared_address_space_fine_grain.cpp | 46 Node* pNodes = (Node*) align_malloc(numLists*ListLength*sizeof(Node),128); in test_svm_shared_address_space_fine_grain() local 47 test_error2(error, pNodes, "malloc failed"); in test_svm_shared_address_space_fine_grain() 58 error |= clSetKernelArgSVMPointer(kernel_create_lists, 0, pNodes); in test_svm_shared_address_space_fine_grain() 62 error |= clSetKernelArgSVMPointer(kernel_verify_lists, 0, pNodes); in test_svm_shared_address_space_fine_grain() 76 create_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain() 86 error = verify_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain() 97 align_free(pNodes); in test_svm_shared_address_space_fine_grain()
|
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() local 94 error |= clSetKernelArgSVMPointer(kernel_create_lists, 0, pNodes); in test_svm_shared_address_space_fine_grain_buffers() 98 error |= clSetKernelArgSVMPointer(kernel_verify_lists, 0, pNodes); 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() 122 error = verify_linked_lists(pNodes, numLists, ListLength); in test_svm_shared_address_space_fine_grain_buffers() 133 clSVMFree(context, pNodes); in test_svm_shared_address_space_fine_grain_buffers()
|
D | main.cpp | 116 void create_linked_lists(Node* pNodes, size_t num_lists, int list_length) in create_linked_lists() argument 122 Node *pNode = &pNodes[i]; in create_linked_lists() 128 pNew = &pNodes[ allocation_index++ ];// allocate a new node in create_linked_lists() 137 cl_int verify_linked_lists(Node* pNodes, size_t num_lists, int list_length) in verify_linked_lists() argument 145 Node *pNode = &pNodes[i]; in verify_linked_lists()
|
D | common.h | 76 extern void create_linked_lists(Node* pNodes, size_t num_lists, int list_length); 77 extern cl_int verify_linked_lists(Node* pNodes, size_t num_lists, int list_length);
|
/external/aac/libDRCdec/src/ |
D | drcDec_reader.cpp | 265 const int nNodes, GAIN_NODE* pNodes) { in _decodeGains() argument 269 pNodes[0].gainDb = _decodeGainInitial(hBs, gainCodingProfile); in _decodeGains() 281 pNodes[k].gainDb = in _decodeGains() 282 pNodes[k - 1].gainDb + in _decodeGains() 290 const int nNodes, GAIN_NODE* pNodes) { in _decodeSlopes() argument 325 GAIN_NODE* pNodes) { in _decodeTimes() argument 349 pNodes[k].time = frameSize + timeOffset; in _decodeTimes() 352 pNodes[k + 1].time = nodeTimeTmp; in _decodeTimes() 354 pNodes[k].time = nodeTimeTmp; in _decodeTimes() 360 pNodes[k].time = frameSize + timeOffset; in _decodeTimes() [all …]
|
/external/python/cpython3/Tools/msi/bundle/bootstrap/ |
D | PythonBootstrapperApplication.cpp | 1379 IXMLDOMNodeList *pNodes = nullptr; in ParseVariablesFromUnattendXml() local 1402 hr = XmlSelectNodes(pixdUnattend, L"/Options/Option", &pNodes); in ParseVariablesFromUnattendXml() 1408 hr = pNodes->get_length((long*)&cNodes); in ParseVariablesFromUnattendXml() 1414 hr = XmlNextElement(pNodes, &pNode, nullptr); in ParseVariablesFromUnattendXml() 1450 ReleaseObject(pNodes); in ParseVariablesFromUnattendXml() 1647 IXMLDOMNodeList* pNodes = nullptr; in ParseOverridableVariablesFromXml() local 1653 …XmlSelectNodes(pixdManifest, L"/BootstrapperApplicationData/WixStdbaOverridableVariable", &pNodes); in ParseOverridableVariablesFromXml() 1659 hr = pNodes->get_length((long*)&cNodes); in ParseOverridableVariablesFromXml() 1667 hr = XmlNextElement(pNodes, &pNode, nullptr); in ParseOverridableVariablesFromXml() 1688 ReleaseObject(pNodes); in ParseOverridableVariablesFromXml()
|