aboutsummaryrefslogtreecommitdiffhomepage
path: root/ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2024-10-16 03:15:48 +0200
committerGitHub <[email protected]>2024-10-16 03:15:48 +0200
commit3870a96592c6a93d3a68391f6cbaecd9c7a2bc97 (patch)
tree77faf858cfa48c618e18f058046165af949e3929 /ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt
parent1a63ef62b7ec47e5d55c1437641169a60f225eae (diff)
downloadZLUDA-3870a96592c6a93d3a68391f6cbaecd9c7a2bc97.tar.gz
ZLUDA-3870a96592c6a93d3a68391f6cbaecd9c7a2bc97.zip
Re-enable all failing PTX tests (#277)
Additionally remove unused compilation paths
Diffstat (limited to 'ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt')
-rw-r--r--ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt60
1 files changed, 0 insertions, 60 deletions
diff --git a/ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt b/ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt
deleted file mode 100644
index 92dc7cc..0000000
--- a/ptx/src/test/spirv_run/non_scalar_ptr_offset.spvtxt
+++ /dev/null
@@ -1,60 +0,0 @@
- OpCapability GenericPointer
- OpCapability Linkage
- OpCapability Addresses
- OpCapability Kernel
- OpCapability Int8
- OpCapability Int16
- OpCapability Int64
- OpCapability Float16
- OpCapability Float64
- %27 = OpExtInstImport "OpenCL.std"
- OpMemoryModel Physical64 OpenCL
- OpEntryPoint Kernel %1 "non_scalar_ptr_offset"
- %void = OpTypeVoid
- %ulong = OpTypeInt 64 0
- %30 = OpTypeFunction %void %ulong %ulong
-%_ptr_Function_ulong = OpTypePointer Function %ulong
- %uint = OpTypeInt 32 0
-%_ptr_Function_uint = OpTypePointer Function %uint
- %ulong_8 = OpConstant %ulong 8
- %v2uint = OpTypeVector %uint 2
-%_ptr_CrossWorkgroup_v2uint = OpTypePointer CrossWorkgroup %v2uint
- %uchar = OpTypeInt 8 0
-%_ptr_CrossWorkgroup_uchar = OpTypePointer CrossWorkgroup %uchar
-%_ptr_CrossWorkgroup_uint = OpTypePointer CrossWorkgroup %uint
- %1 = OpFunction %void None %30
- %9 = OpFunctionParameter %ulong
- %10 = OpFunctionParameter %ulong
- %25 = OpLabel
- %2 = OpVariable %_ptr_Function_ulong Function
- %3 = OpVariable %_ptr_Function_ulong Function
- %4 = OpVariable %_ptr_Function_ulong Function
- %5 = OpVariable %_ptr_Function_ulong Function
- %6 = OpVariable %_ptr_Function_uint Function
- %7 = OpVariable %_ptr_Function_uint Function
- OpStore %2 %9
- OpStore %3 %10
- %11 = OpLoad %ulong %2 Aligned 8
- OpStore %4 %11
- %12 = OpLoad %ulong %3 Aligned 8
- OpStore %5 %12
- %13 = OpLoad %ulong %4
- %23 = OpConvertUToPtr %_ptr_CrossWorkgroup_v2uint %13
- %38 = OpBitcast %_ptr_CrossWorkgroup_uchar %23
- %39 = OpInBoundsPtrAccessChain %_ptr_CrossWorkgroup_uchar %38 %ulong_8
- %22 = OpBitcast %_ptr_CrossWorkgroup_v2uint %39
- %8 = OpLoad %v2uint %22 Aligned 8
- %14 = OpCompositeExtract %uint %8 0
- %15 = OpCompositeExtract %uint %8 1
- OpStore %6 %14
- OpStore %7 %15
- %17 = OpLoad %uint %6
- %18 = OpLoad %uint %7
- %16 = OpIAdd %uint %17 %18
- OpStore %6 %16
- %19 = OpLoad %ulong %5
- %20 = OpLoad %uint %6
- %24 = OpConvertUToPtr %_ptr_CrossWorkgroup_uint %19
- OpStore %24 %20 Aligned 4
- OpReturn
- OpFunctionEnd