Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)
[ROCm/clr commit: 3169f3a881]
Этот коммит содержится в:
коммит произвёл
Maneesh Gupta
родитель
154b861905
Коммит
2c8502f1db
@@ -32,6 +32,9 @@ THE SOFTWARE.
|
||||
|
||||
#define N 512
|
||||
|
||||
#if __HIP__
|
||||
__hip_pinned_shadow__
|
||||
#endif
|
||||
texture<float, 1, hipReadModeElementType> tex;
|
||||
|
||||
__global__ void kernel(float *out) {
|
||||
|
||||
Ссылка в новой задаче
Block a user