Add hipGetTextureAlignmentOffset on NVCC path
[ROCm/hip commit: c93f216fe8]
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2018-07-11 12:17:33 +05:30
1 rodzic
4c4de52f5a
złożenie
54881b7a12
Plik 1 zmieniony
+5
@@ -1239,6 +1239,11 @@ inline static hipError_t hipGetTextureObjectResourceDesc(hipResourceDesc* pResDe
|
||||
hipTextureObject_t textureObject) {
|
||||
return hipCUDAErrorTohipError(cudaGetTextureObjectResourceDesc( pResDesc, textureObject));
|
||||
}
|
||||
|
||||
inline static hipError_t hipGetTextureAlignmentOffset(size_t* offset, const textureReference* texref)
|
||||
{
|
||||
return hipCUDAErrorTohipError(cudaGetTextureAlignmentOffset(offset,texref));
|
||||
}
|
||||
#endif //__CUDACC__
|
||||
|
||||
#endif // HIP_INCLUDE_HIP_NVCC_DETAIL_HIP_RUNTIME_API_H
|
||||
Reference in new issue
Zablokuj użytkownika