Added hipGetChanDesc for NVCC path

此提交包含在:
Rahul Garg committed 2018-07-11 12:37:07 +05:30
1 父節點 c93f216fe8
當前提交 6bf979d9e6
1 file changed
+5
+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