MCPcopy Create free account
hub / github.com/ROCm/clr / CL_API_CALL CreateCommandQueue

Function CL_API_CALL CreateCommandQueue

opencl/tools/cltrace/cltrace.cpp:1179–1198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1177}
1178
1179static cl_command_queue CL_API_CALL CreateCommandQueue(cl_context context, cl_device_id device,
1180 cl_command_queue_properties properties,
1181 cl_int* errcode_ret) {
1182 std::ostringstream ss;
1183 Rec r(&ss);
1184
1185 ss << "clCreateCommandQueue(" << context << ',' << device << ',';
1186 ss << getCommandQueuePropertyString(properties) << ',';
1187
1188 addRec(&r);
1189 cl_command_queue ret =
1190 original_dispatch.CreateCommandQueue(context, device, properties, errcode_ret);
1191 delRec(&r);
1192
1193 ss << getErrorString(errcode_ret) << ") = " << ret;
1194
1195 ss << std::endl;
1196 std::cerr << ss.str();
1197 return ret;
1198}
1199
1200static cl_command_queue CL_API_CALL
1201CreateCommandQueueWithProperties(cl_context context, cl_device_id device,

Callers

nothing calls this directly

Calls 4

addRecFunction · 0.85
delRecFunction · 0.85
getErrorStringFunction · 0.85

Tested by

no test coverage detected