File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
IGC/ocloc_tests/features/bfloat Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 10
10
; UNSUPPORTED: legacy-translator
11
11
12
12
; RUN: llvm-as %s -o %t.bc
13
- ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_brain_float16 -o %t.spv
13
+ ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv
14
14
; RUN: ocloc compile -spirv_input -file %t.spv -options "-igc_opts 'DumpVISAASMToConsole=1'" -device pvc 2>&1 | FileCheck %s --check-prefixes=CHECK-VISA
15
15
16
16
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
Original file line number Diff line number Diff line change 10
10
; UNSUPPORTED: legacy-translator
11
11
12
12
; RUN: llvm-as %s -o %t.bc
13
- ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_brain_float16 -o %t.spv
13
+ ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv
14
14
; RUN: ocloc compile -spirv_input -file %t.spv -options "-igc_opts 'DumpVISAASMToConsole=1'" -device pvc 2>&1 | FileCheck %s --check-prefixes=CHECK-VISA
15
15
16
16
source_filename = "bfloat16.cpp"
Original file line number Diff line number Diff line change 10
10
; UNSUPPORTED: legacy-translator
11
11
12
12
; RUN: llvm-as %s -o %t.bc
13
- ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_brain_float16 -o %t.spv
13
+ ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv
14
14
; RUN: ocloc compile -spirv_input -file %t.spv -options "-cl-fast-relaxed-math -igc_opts 'DumpVISAASMToConsole=1'" -device pvc 2>&1 | FileCheck %s --check-prefixes=CHECK-VISA
15
15
16
16
source_filename = "bfloat16.cpp"
Original file line number Diff line number Diff line change 10
10
; UNSUPPORTED: legacy-translator
11
11
12
12
; RUN: llvm-as %s -o %t.bc
13
- ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_brain_float16 -o %t.spv
13
+ ; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv
14
14
; RUN: ocloc compile -spirv_input -file %t.spv -options "-igc_opts 'DumpVISAASMToConsole=1'" -device pvc 2>&1 | FileCheck %s --check-prefixes=CHECK-VISA
15
15
16
16
target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64"
@@ -318,4 +318,4 @@ entry:
318
318
%res = bitcast half %add to bfloat
319
319
store bfloat %res , bfloat addrspace (1 )* %out , align 4
320
320
ret void
321
- }
321
+ }
You can’t perform that action at this time.
0 commit comments