diff options
| author | Harsh Aggarwal (NVIDIA) <haaggarwal@nvidia.com> | 2025-09-03 10:45:57 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-03 05:15:57 +0000 |
| commit | 639978008de3a74c00e03451cd9fc74452766fcd (patch) | |
| tree | bcde5b0fc80c09a7f0d36ba2d17fbe8e48f0a94d /tests/compute/half-texture.slang | |
| parent | 4886bf95fcf6e7f38f48a346f4112fe340a453c8 (diff) | |
Fix#8086: Batch-10: Enable cuda tests (#8270)
Diffstat (limited to 'tests/compute/half-texture.slang')
| -rw-r--r-- | tests/compute/half-texture.slang | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/compute/half-texture.slang b/tests/compute/half-texture.slang index ca51df3cc..6cda1f4c9 100644 --- a/tests/compute/half-texture.slang +++ b/tests/compute/half-texture.slang @@ -1,6 +1,7 @@ //TEST:SIMPLE(filecheck=CHECK_SPIRV): -target spirv -entry computeMain -profile cs_6_2 -emit-spirv-via-glsl //TEST:SIMPLE(filecheck=CHECK_SPIRV): -target spirv -entry computeMain -profile cs_6_2 -emit-spirv-directly //TEST:CROSS_COMPILE: -target dxil-assembly -entry computeMain -profile cs_6_2 +//TEST:SIMPLE(filecheck=CHECK_CUDA): -target cuda -entry computeMain -profile cs_6_2 //TEST_INPUT:ubuffer(data=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0], stride=16):out RWStructuredBuffer<int> outputBuffer; @@ -45,3 +46,10 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID) int index = pos.x + pos.y * 4; outputBuffer[index] = index; } + +// CHECK_CUDA: surf2Dread<__half> +// CHECK_CUDA: surf2Dread<__half2{{.*}}> +// CHECK_CUDA: surf2Dread<__half4{{.*}}> +// CHECK_CUDA: surf2Dwrite<__half> +// CHECK_CUDA: surf2Dwrite<__half2{{.*}}> +// CHECK_CUDA: surf2Dwrite<__half4{{.*}}> |
