Added hipGetChanDesc for NVCC path

[ROCm/clr commit: bab48b86a6]
Этот коммит содержится в:
Rahul Garg
2018-07-11 12:37:07 +05:30
родитель 4fdb1a8ee5
Коммит f25e75ee6b
+5
Просмотреть файл
@@ -1244,6 +1244,11 @@ inline static hipError_t hipGetTextureAlignmentOffset(size_t* offset, const text
{
return hipCUDAErrorTohipError(cudaGetTextureAlignmentOffset(offset,texref));
}
inline static hipError_t hipGetChannelDesc(hipChannelFormatDesc* desc, hipArray_const_t array)
{
return hipCUDAErrorTohipError(cudaGetChannelDesc(desc,array));
}
#endif //__CUDACC__
#endif // HIP_INCLUDE_HIP_NVCC_DETAIL_HIP_RUNTIME_API_H