/external/OpenCL-CTS/test_conformance/api/ |
D | test_binary.cpp | 32 size_t binarySize; in test_binary_get() local 39 …error = clGetProgramInfo( program, CL_PROGRAM_BINARY_SIZES, sizeof( binarySize ), &binarySize, NUL… in test_binary_get() 43 if( binarySize == 0 ) in test_binary_get() 51 binary = (unsigned char*)malloc(sizeof(unsigned char)*binarySize); in test_binary_get() 81 size_t binarySize; in test_binary_create() local 88 …error = clGetProgramInfo( program, CL_PROGRAM_BINARY_SIZES, sizeof( binarySize ), &binarySize, NUL… in test_binary_create() 92 if( binarySize == 0 ) in test_binary_create() 99 unsigned char *binary = (unsigned char*)malloc(binarySize); in test_binary_create() 106 …program_from_binary = clCreateProgramWithBinary( context, 1, &deviceID, &binarySize, buffers, load… in test_binary_create()
|
/external/angle/src/tests/egl_tests/ |
D | EGLProgramCacheControlTest.cpp | 203 EGLint binarySize = 0; in TEST_P() local 204 eglProgramCacheQueryANGLE(display, 0, nullptr, &keySize, nullptr, &binarySize); in TEST_P() 209 std::vector<uint8_t> binaryBuffer(binarySize); in TEST_P() 211 &binarySize); in TEST_P() 224 binarySize); in TEST_P()
|
/external/llvm-project/mlir/unittests/Dialect/SPIRV/ |
D | SerializationTest.cpp | 81 auto binarySize = binary.size(); in findInstruction() local 85 while (currOffset < binarySize) { in findInstruction() 87 if (!wordCount || (currOffset + wordCount > binarySize)) { in findInstruction()
|
/external/OpenCL-CTS/test_conformance/compiler/ |
D | test_compile.cpp | 1854 size_t binarySize; in test_execute_after_serialize_reload_object() local 1869 …error = clGetProgramInfo( program, CL_PROGRAM_BINARY_SIZES, sizeof( binarySize ), &binarySize, NUL… in test_execute_after_serialize_reload_object() 1873 if( binarySize == 0 ) in test_execute_after_serialize_reload_object() 1880 binary = (unsigned char*)malloc(sizeof(unsigned char)*binarySize); in test_execute_after_serialize_reload_object() 1882 …to allocate binary character array with %lu characters! (in %s:%d)\n", binarySize, __FILE__, __LIN… in test_execute_after_serialize_reload_object() 1904 …cl_program program_with_binary = clCreateProgramWithBinary(context, 1, &deviceID, &binarySize, (co… in test_execute_after_serialize_reload_object() 1939 size_t binarySize; in test_execute_after_serialize_reload_library() local 1959 …mInfo( my_newly_minted_library, CL_PROGRAM_BINARY_SIZES, sizeof( binarySize ), &binarySize, NULL ); in test_execute_after_serialize_reload_library() 1963 if( binarySize == 0 ) in test_execute_after_serialize_reload_library() 1970 binary = (unsigned char*)malloc(sizeof(unsigned char)*binarySize); in test_execute_after_serialize_reload_library() [all …]
|
/external/angle/src/libANGLE/capture/ |
D | capture_gles_3_0_params.cpp | 416 GLsizei binarySize = *length; in CaptureGetProgramBinary_binary() local 417 if (binarySize > bufSize) in CaptureGetProgramBinary_binary() 420 binarySize = bufSize; in CaptureGetProgramBinary_binary() 423 paramCapture->readBufferSizeBytes = binarySize; in CaptureGetProgramBinary_binary()
|
/external/llvm-project/mlir/tools/mlir-vulkan-runner/ |
D | VulkanRuntime.h | 223 uint32_t binarySize{0};
|
D | VulkanRuntime.cpp | 62 binarySize = size; in setShaderModule() 111 if (!binarySize || !binary) { in initRuntime() 555 shaderModuleCreateInfo.codeSize = binarySize; in createShaderModule()
|
/external/llvm-project/mlir/lib/Conversion/GPUToVulkan/ |
D | ConvertLaunchFuncToVulkanCalls.cpp | 388 Value binarySize = builder.create<LLVM::ConstantOp>( in translateVulkanLaunchCall() local 399 ValueRange{vulkanRuntime, ptrToSPIRVBinary, binarySize}); in translateVulkanLaunchCall()
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkPrograms.hpp | 50 ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary);
|
D | vkPrograms.cpp | 60 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument 62 , m_binary (binary, binary+binarySize) in ProgramBinary()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Deserializer.cpp | 595 auto binarySize = binary.size(); in deserialize() local 596 while (curOffset < binarySize) { in deserialize() 606 assert(curOffset == binarySize && in deserialize() 2366 auto binarySize = binary.size(); in sliceInstruction() local 2367 if (curOffset >= binarySize) { in sliceInstruction() 2383 if (nextOffset > binarySize) in sliceInstruction()
|