Skip to content

Commit 4c50e86

Browse files
authored
Merge pull request #90 from AntonOresten/bfloat16-scalar
BFloat16 scalar support
2 parents 4990ad1 + f712df6 commit 4c50e86

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/compiler/codegen/utils.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ function _tile_type_for_julia!(tt::TypeTable, @nospecialize(T::Type))
310310
return tile_type!(tt, I64(tt), Int[])
311311
elseif T === Float16
312312
return tile_type!(tt, F16(tt), Int[])
313+
elseif T === BFloat16
314+
return tile_type!(tt, BF16(tt), Int[])
313315
elseif T === Float32
314316
return tile_type!(tt, F32(tt), Int[])
315317
elseif T === Float64

0 commit comments

Comments
 (0)