Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)
This commit is contained in:
committed by
Maneesh Gupta
parent
a220a8e8e9
commit
3169f3a881
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user