MCPcopy Create free account
hub / github.com/ROCm/clr / hipArray3DGetDescriptor

Function hipArray3DGetDescriptor

hipamd/src/hip_memory.cpp:3908–3921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3906}
3907
3908hipError_t hipArray3DGetDescriptor(HIP_ARRAY3D_DESCRIPTOR* pArrayDescriptor, hipArray_t array) {
3909 HIP_INIT_API(hipArray3DGetDescriptor, pArrayDescriptor, array);
3910 CHECK_STREAM_CAPTURE_SUPPORTED();
3911
3912 if (array == nullptr) {
3913 HIP_RETURN(hipErrorInvalidHandle);
3914 }
3915
3916 if (pArrayDescriptor == nullptr) {
3917 HIP_RETURN(hipErrorInvalidValue);
3918 }
3919
3920 HIP_RETURN(ihipArray3DGetDescriptor(pArrayDescriptor, array));
3921}
3922
3923hipError_t hipMemcpyParam2DAsync(const hip_Memcpy2D* pCopy, hipStream_t stream) {
3924 HIP_INIT_API(hipMemcpyParam2DAsync, pCopy);

Callers

nothing calls this directly

Calls 1

ihipArray3DGetDescriptorFunction · 0.85

Tested by

no test coverage detected