MCPcopy Create free account
hub / github.com/KhronosGroup/OpenCL-CTS / get_mem_flag_name

Function get_mem_flag_name

test_conformance/basic/test_writeimage.cpp:109–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108
109const char *get_mem_flag_name(cl_mem_flags flags)
110{
111 switch (flags)
112 {
113 case CL_MEM_READ_WRITE: return "CL_MEM_READ_WRITE";
114 case CL_MEM_WRITE_ONLY: return "CL_MEM_WRITE_ONLY";
115 default: return "Unsupported cl_mem_flags value";
116 }
117}
118
119template <typename T>
120static int

Callers 1

test_writeimageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected