| 1276 | } |
| 1277 | |
| 1278 | static cl_int CL_API_CALL SetCommandQueueProperty(cl_command_queue command_queue, |
| 1279 | cl_command_queue_properties properties, |
| 1280 | cl_bool enable, |
| 1281 | cl_command_queue_properties* old_properties) { |
| 1282 | std::ostringstream ss; |
| 1283 | Rec r(&ss); |
| 1284 | |
| 1285 | ss << "clSetCommandQueueProperty(" << command_queue << ','; |
| 1286 | ss << getCommandQueuePropertyString(properties) << ','; |
| 1287 | ss << enable << ','; |
| 1288 | |
| 1289 | addRec(&r); |
| 1290 | cl_int ret = |
| 1291 | original_dispatch.SetCommandQueueProperty(command_queue, properties, enable, old_properties); |
| 1292 | delRec(&r); |
| 1293 | |
| 1294 | ss << getHexString(old_properties) << ") = "; |
| 1295 | ss << getErrorString(ret); |
| 1296 | |
| 1297 | ss << std::endl; |
| 1298 | std::cerr << ss.str(); |
| 1299 | return ret; |
| 1300 | } |
| 1301 | |
| 1302 | static cl_mem CL_API_CALL CreateBuffer(cl_context context, cl_mem_flags flags, size_t size, |
| 1303 | void* host_ptr, cl_int* errcode_ret) { |
nothing calls this directly
no test coverage detected