| 3825 | } |
| 3826 | |
| 3827 | hipError_t ihipArray3DGetDescriptor(HIP_ARRAY3D_DESCRIPTOR* desc, hipArray_t array) { |
| 3828 | { |
| 3829 | amd::ScopedLock lock(hipArraySetLock); |
| 3830 | if (hip::hipArraySet.find(array) == hip::hipArraySet.end()) { |
| 3831 | return hipErrorInvalidHandle; |
| 3832 | } |
| 3833 | } |
| 3834 | |
| 3835 | desc->Width = array->width; |
| 3836 | desc->Height = array->height; |
| 3837 | desc->Depth = array->depth; |
| 3838 | desc->Format = array->Format; |
| 3839 | desc->NumChannels = array->NumChannels; |
| 3840 | desc->Flags = array->flags; |
| 3841 | |
| 3842 | return hipSuccess; |
| 3843 | } |
| 3844 | |
| 3845 | hipError_t hipArrayGetInfo(hipChannelFormatDesc* desc, hipExtent* extent, unsigned int* flags, |
| 3846 | hipArray_t array) { |
no test coverage detected