| 774 | } |
| 775 | |
| 776 | hipError_t hipMalloc(void** ptr, size_t sizeBytes) { |
| 777 | HIP_INIT_API(hipMalloc, ptr, sizeBytes); |
| 778 | CHECK_STREAM_CAPTURE_SUPPORTED(); |
| 779 | HIP_RETURN_DURATION(ihipMalloc(ptr, sizeBytes, 0), ReturnPtrValue(ptr)); |
| 780 | } |
| 781 | |
| 782 | hipError_t hipHostMalloc(void** ptr, size_t sizeBytes, unsigned int flags) { |
| 783 | HIP_INIT_API(hipHostMalloc, ptr, sizeBytes, flags); |
no test coverage detected