Home
last modified time | relevance | path

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

/external/OpenCL-CTS/test_conformance/api/
Dtest_binary.cpp32 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/
DEGLProgramCacheControlTest.cpp203 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/OpenCL-CTS/test_conformance/compiler/
Dtest_compile.cpp1854 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/
Dcapture_gles_3_0_params.cpp398 GLsizei binarySize = *length; in CaptureGetProgramBinary_binary() local
399 if (binarySize > bufSize) in CaptureGetProgramBinary_binary()
402 binarySize = bufSize; in CaptureGetProgramBinary_binary()
405 paramCapture->readBufferSizeBytes = binarySize; in CaptureGetProgramBinary_binary()
/external/deqp/external/vulkancts/framework/vulkan/
DvkPrograms.hpp50 ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary);
DvkPrograms.cpp60 ProgramBinary::ProgramBinary (ProgramFormat format, size_t binarySize, const deUint8* binary) in ProgramBinary() argument
62 , m_binary (binary, binary+binarySize) in ProgramBinary()