================================================================================================
| 316 | |
| 317 | // ================================================================================================ |
| 318 | hipError_t hipEventCreateWithFlags(hipEvent_t* event, unsigned flags) { |
| 319 | HIP_INIT_API(hipEventCreateWithFlags, event, flags); |
| 320 | |
| 321 | if (event == nullptr) { |
| 322 | return hipErrorInvalidValue; |
| 323 | } |
| 324 | |
| 325 | HIP_RETURN(ihipEventCreateWithFlags(event, flags), *event); |
| 326 | } |
| 327 | |
| 328 | // ================================================================================================ |
| 329 | hipError_t hipEventCreate(hipEvent_t* event) { |
nothing calls this directly
no test coverage detected