5acc8b5102e72fa0b5739e2ad1d6648de04dcedd
If the target device doesn't support image, compiler will send out unavailable error if device texture apis are called; and host texture apis will return hipErrorNotSupported. Remove useless include/hip/amd_detail/texture_functions.h. Add hipDeviceAttributeImageSupport attribute to check image support in runtime. Add __HIP_NO_IMAGE_SUPPORT(=1) macro in device code to indicate texture apis not supported. Change-Id: Ia891493e681a61980a2444859a90e046a9ebea39
Beschreibung
Keine Beschreibung vorhanden
Sprachen
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Andere
1.1%