Add __hip_pinned_shadow__ for hip-clang and fix texture reference tests (#1200)
[ROCm/clr commit: 3169f3a881]
Este cometimento está contido em:
cometido por
Maneesh Gupta
ascendente
154b861905
cometimento
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) {
|
||||
|
||||
@@ -9,6 +9,9 @@
|
||||
|
||||
#include <hip/hip_runtime.h>
|
||||
#include "test_common.h"
|
||||
#if __HIP__
|
||||
__hip_pinned_shadow__
|
||||
#endif
|
||||
texture<float, 2, hipReadModeElementType> tex;
|
||||
|
||||
__global__ void tex2DKernel(float* outputData,
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador