/external/OpenCL-CTS/test_conformance/d3d10/ |
D | texture2d.cpp | 206 …TestRequire(SUCCEEDED(hr), "ID3D10Device::CreateTexture2D failed (non-OpenCL D3D error, but test i… in SubTestTexture2D() 247 …TestRequire(SUCCEEDED(hr), "ID3D10Device::CreateTexture2D failed (non-OpenCL D3D error, but test i… in SubTestTexture2D() 292 TestRequire(result == CL_SUCCESS, "clCreateFromD3D10Texture2DKHR failed"); in SubTestTexture2D() 302 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR failed."); in SubTestTexture2D() 303 …TestRequire(clResource == pTexture, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR returned inc… in SubTestTexture2D() 313 … TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_D3D10_SUBRESOURCE_KHR failed"); in SubTestTexture2D() 314 …TestRequire(clSubResource == subResourceInfo[i].subResource, "clGetImageInfo for CL_IMAGE_D3D10_SU… in SubTestTexture2D() 324 TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_FORMAT failed"); in SubTestTexture2D() 325 …TestRequire(clFormat.image_channel_order == format->channel_order, "clGetImageInfo for CL_IMAGE_FO… in SubTestTexture2D() 326 …TestRequire(clFormat.image_channel_data_type == format->channel_type, "clGetImageInfo for CL_IMAGE… in SubTestTexture2D() [all …]
|
D | buffer.cpp | 76 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestBuffer() 92 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() 99 TestRequire(SUCCEEDED(hr), "Map failed!"); in SubTestBuffer() 102 TestRequire(SUCCEEDED(hr), "Unmap failed!"); in SubTestBuffer() 143 TestRequire(CL_SUCCESS == result, "clCreateFromD3D10BufferKHR failed"); in SubTestBuffer() 155 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR failed."); in SubTestBuffer() 156 …TestRequire(clResource == pBuffer, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR returned inco… in SubTestBuffer() 168 TestRequire(result == CL_SUCCESS, "clEnqueueAcquireD3D10ObjectsKHR failed."); in SubTestBuffer() 185 TestRequire(result == CL_SUCCESS, "clEnqueueCopyBuffer failed."); in SubTestBuffer() 197 TestRequire(result == CL_SUCCESS, "clEnqueueCopyBuffer failed."); in SubTestBuffer() [all …]
|
D | misc.cpp | 48 TestRequire(SUCCEEDED(hr), "Failed to create texture."); in SubTestMiscMultipleCreates() 60 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestMiscMultipleCreates() 68 TestRequire(result == CL_SUCCESS, "clCreateFromD3D10BufferKHR"); in SubTestMiscMultipleCreates() 75 …TestRequire(result == CL_INVALID_D3D10_RESOURCE_KHR, "clCreateFromD3D10BufferKHR succeeded when it… in SubTestMiscMultipleCreates() 83 TestRequire(result == CL_SUCCESS, "clCreateFromD3D10Texture2DKHR failed"); in SubTestMiscMultipleCreates() 91 …TestRequire(result == CL_INVALID_D3D10_RESOURCE_KHR, "clCreateFromD3D10Texture2DKHR succeeded when… in SubTestMiscMultipleCreates() 99 …TestRequire(result == CL_INVALID_VALUE, "clCreateFromD3D10Texture2DKHR succeeded when it shouldn't… in SubTestMiscMultipleCreates() 154 TestRequire(SUCCEEDED(hr), "Failed to create texture."); in SubTestMiscAcquireRelease() 166 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestMiscAcquireRelease() 175 TestRequire(result == CL_SUCCESS, "clCreateFromD3D10BufferKHR"); in SubTestMiscAcquireRelease() [all …]
|
D | texture3d.cpp | 137 TestRequire(SUCCEEDED(hr), "CreateTexture3D failed."); in SubTestTexture3D() 175 TestRequire(SUCCEEDED(hr), "CreateTexture3D failed."); in SubTestTexture3D() 220 TestRequire(result == CL_SUCCESS, "clCreateFromD3D10Texture3DKHR failed"); in SubTestTexture3D() 230 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR failed."); in SubTestTexture3D() 231 …TestRequire(clResource == pTexture, "clGetMemObjectInfo for CL_MEM_D3D10_RESOURCE_KHR returned inc… in SubTestTexture3D() 241 … TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_D3D10_SUBRESOURCE_KHR failed"); in SubTestTexture3D() 242 …TestRequire(clSubResource == subResourceInfo[i].subResource, "clGetImageInfo for CL_IMAGE_D3D10_SU… in SubTestTexture3D() 252 TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_FORMAT failed"); in SubTestTexture3D() 253 …TestRequire(clFormat.image_channel_order == format->channel_order, "clGetImageInfo for CL_IMAGE_FO… in SubTestTexture3D() 254 …TestRequire(clFormat.image_channel_data_type == format->channel_type, "clGetImageInfo for CL_IMAGE… in SubTestTexture3D() [all …]
|
D | main.cpp | 112 TestRequire( in TestAdapterEnumeration() 132 TestRequire( in TestAdapterEnumeration() 149 TestRequire( in TestAdapterEnumeration() 169 TestRequire( in TestAdapterEnumeration() 185 TestRequire( in TestAdapterEnumeration() 342 TestRequire( in TestDeviceContextCreate() 346 TestRequire( in TestDeviceContextCreate() 363 TestRequire( in TestDeviceContextCreate() 367 TestRequire( in TestDeviceContextCreate() 382 TestRequire( in TestDeviceContextCreate() [all …]
|
D | harness.cpp | 77 TestRequire(!extensionPresent, "Extension should not be exported on Windows < 6"); in HarnessD3D10_ExtensionCheck() 81 TestRequire(extensionPresent, "Extension should be exported on Windows >= 6"); in HarnessD3D10_ExtensionCheck() 372 TestRequire( in HarnessD3D10_CreateKernelFromSource()
|
D | harness.h | 62 #define TestRequire(x, ...) \ macro
|
/external/OpenCL-CTS/test_conformance/d3d11/ |
D | texture2d.cpp | 208 …TestRequire(SUCCEEDED(hr), "ID3D11Device::CreateTexture2D failed (non-OpenCL D3D error, but test i… in SubTestTexture2D() 250 …TestRequire(SUCCEEDED(hr), "ID3D11Device::CreateTexture2D failed (non-OpenCL D3D error, but test i… in SubTestTexture2D() 300 TestRequire(result == CL_SUCCESS, "clCreateFromD3D11Texture2DKHR failed"); in SubTestTexture2D() 310 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR failed."); in SubTestTexture2D() 311 …TestRequire(clResource == pTexture, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR returned inc… in SubTestTexture2D() 321 … TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_D3D11_SUBRESOURCE_KHR failed"); in SubTestTexture2D() 322 …TestRequire(clSubResource == subResourceInfo[i].subResource, "clGetImageInfo for CL_IMAGE_D3D11_SU… in SubTestTexture2D() 331 TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_FORMAT failed"); in SubTestTexture2D() 332 …TestRequire(clFormat.image_channel_order == format->channel_order, "clGetImageInfo for CL_IMAGE_FO… in SubTestTexture2D() 333 …TestRequire(clFormat.image_channel_data_type == format->channel_type, "clGetImageInfo for CL_IMAGE… in SubTestTexture2D() [all …]
|
D | buffer.cpp | 77 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestBuffer() 94 TestRequire(SUCCEEDED(hr), "Creating staging vertex buffer failed!"); in SubTestBuffer() 103 TestRequire(SUCCEEDED(hr), "Map failed!"); in SubTestBuffer() 106 TestRequire(SUCCEEDED(hr), "Unmap failed!"); in SubTestBuffer() 147 TestRequire(CL_SUCCESS == result, "clCreateFromD3D11BufferKHR failed"); in SubTestBuffer() 159 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR failed."); in SubTestBuffer() 160 …TestRequire(clResource == pBuffer, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR returned inco… in SubTestBuffer() 172 TestRequire(result == CL_SUCCESS, "clEnqueueAcquireD3D11ObjectsKHR failed."); in SubTestBuffer() 189 TestRequire(result == CL_SUCCESS, "clEnqueueCopyBuffer failed."); in SubTestBuffer() 201 TestRequire(result == CL_SUCCESS, "clEnqueueCopyBuffer failed."); in SubTestBuffer() [all …]
|
D | texture3d.cpp | 138 TestRequire(SUCCEEDED(hr), "CreateTexture3D failed."); in SubTestTexture3D() 177 TestRequire(SUCCEEDED(hr), "CreateTexture3D failed."); in SubTestTexture3D() 227 TestRequire(result == CL_SUCCESS, "clCreateFromD3D11Texture3DKHR failed"); in SubTestTexture3D() 237 … TestRequire(result == CL_SUCCESS, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR failed."); in SubTestTexture3D() 238 …TestRequire(clResource == pTexture, "clGetMemObjectInfo for CL_MEM_D3D11_RESOURCE_KHR returned inc… in SubTestTexture3D() 248 … TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_D3D11_SUBRESOURCE_KHR failed"); in SubTestTexture3D() 249 …TestRequire(clSubResource == subResourceInfo[i].subResource, "clGetImageInfo for CL_IMAGE_D3D11_SU… in SubTestTexture3D() 259 TestRequire(result == CL_SUCCESS, "clGetImageInfo for CL_IMAGE_FORMAT failed"); in SubTestTexture3D() 260 …TestRequire(clFormat.image_channel_order == format->channel_order, "clGetImageInfo for CL_IMAGE_FO… in SubTestTexture3D() 261 …TestRequire(clFormat.image_channel_data_type == format->channel_type, "clGetImageInfo for CL_IMAGE… in SubTestTexture3D() [all …]
|
D | main.cpp | 120 TestRequire( in TestAdapterEnumeration() 140 TestRequire( in TestAdapterEnumeration() 157 TestRequire( in TestAdapterEnumeration() 177 TestRequire( in TestAdapterEnumeration() 340 TestRequire( in TestDeviceContextCreate() 344 TestRequire( in TestDeviceContextCreate() 361 TestRequire( in TestDeviceContextCreate() 365 TestRequire( in TestDeviceContextCreate() 380 TestRequire( in TestDeviceContextCreate() 388 TestRequire( in TestDeviceContextCreate() [all …]
|
D | misc.cpp | 50 TestRequire(SUCCEEDED(hr), "Failed to create texture."); in SubTestMiscMultipleCreates() 62 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestMiscMultipleCreates() 70 TestRequire(result == CL_SUCCESS, "clCreateFromD3D11BufferKHR"); in SubTestMiscMultipleCreates() 77 …TestRequire(result == CL_INVALID_D3D11_RESOURCE_KHR, "clCreateFromD3D11BufferKHR succeeded when it… in SubTestMiscMultipleCreates() 85 TestRequire(result == CL_SUCCESS, "clCreateFromD3D11Texture2DKHR failed"); in SubTestMiscMultipleCreates() 93 …TestRequire(result == CL_INVALID_D3D11_RESOURCE_KHR, "clCreateFromD3D11Texture2DKHR succeeded when… in SubTestMiscMultipleCreates() 101 …TestRequire(result == CL_INVALID_VALUE, "clCreateFromD3D11Texture2DKHR succeeded when it shouldn't… in SubTestMiscMultipleCreates() 157 TestRequire(SUCCEEDED(hr), "Failed to create texture."); in SubTestMiscAcquireRelease() 169 TestRequire(SUCCEEDED(hr), "Creating vertex buffer failed!"); in SubTestMiscAcquireRelease() 178 TestRequire(result == CL_SUCCESS, "clCreateFromD3D11BufferKHR"); in SubTestMiscAcquireRelease() [all …]
|
D | harness.cpp | 89 TestRequire( ! platform_d3d11, "Platform should not declare extension on Windows < 6" ); in HarnessD3D11_ExtensionCheck() 90 … TestRequire( num_devices_d3d11 == 0, "Devices should not declare extension on Windows < 6" ); in HarnessD3D11_ExtensionCheck() 97 TestRequire( platform_d3d11, "Extension should be exported on Windows >= 6" ); in HarnessD3D11_ExtensionCheck() 102 TestRequire( ! platform_d3d11, "Extension should not be exported on Windows >= 6" ); in HarnessD3D11_ExtensionCheck() 405 TestRequire(CL_SUCCESS == status, "Kernel creation failed"); in HarnessD3D11_CreateKernelFromSource()
|
D | harness.h | 63 #define TestRequire(x, ...) \ macro
|