| 1177 | } |
| 1178 | |
| 1179 | static 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 | |
| 1200 | static cl_command_queue CL_API_CALL |
| 1201 | CreateCommandQueueWithProperties(cl_context context, cl_device_id device, |
nothing calls this directly
no test coverage detected