- 3D texture driver APIs
- hipMalloc3D
- hipMemcpy3D for destination other than array
Этот коммит содержится в:
Rahul Garg
2017-12-05 14:11:13 +05:30
родитель d62074e3fc
Коммит 115c7f2b79
4 изменённых файлов: 273 добавлений и 57 удалений
+2 -2
Просмотреть файл
@@ -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);
}