Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)
Цей коміт міститься в:
зафіксовано
Maneesh Gupta
джерело
d57946275b
коміт
85c3b903df
@@ -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) {
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача