Added support for
- 3D texture driver APIs - hipMalloc3D - hipMemcpy3D for destination other than array
Ta zmiana jest zawarta w:
%! (template.HTML=
Rahul Garg)złożyło 2017-12-05 14:11:13 +05:30
1 rodzic
c7f9dbf789
złożenie
105df94cd0
4 plików zmienionych
+273
-57
Żadne pliki nie pasują do Twojego wyszukiwania
@@ -623,7 +623,7 @@ hipError_t hipBindTextureToArray(textureReference* tex,
|
||||
HIP_INIT_API(tex, array, desc);
|
||||
hipError_t hip_status = hipSuccess;
|
||||
// TODO: hipReadModeElementType is default.
|
||||
hip_status = ihipBindTextureToArrayImpl(hipTextureType2D, hipReadModeElementType,
|
||||
hip_status = ihipBindTextureToArrayImpl(array->textureType, hipReadModeElementType,
|
||||
array, *desc, tex);
|
||||
return ihipLogStatus(hip_status);
|
||||
}
|
||||
@@ -742,7 +742,7 @@ hipError_t hipTexRefSetArray ( textureReference* tex, hipArray_const_t array, u
|
||||
HIP_INIT_API(tex, array, flags);
|
||||
hipError_t hip_status = hipSuccess;
|
||||
|
||||
hip_status = ihipBindTextureToArrayImpl(hipTextureType2D, hipReadModeElementType,
|
||||
hip_status = ihipBindTextureToArrayImpl(array->textureType, hipReadModeElementType,
|
||||
array, array->desc,tex );
|
||||
return ihipLogStatus(hip_status);
|
||||
}
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika