Skip to content

Commit f9de0cd

Browse files
Bump GPUToolbox to v0.2 (#2736)
Co-authored-by: Valentin Churavy <v.churavy@gmail.com>
1 parent eb4fcad commit f9de0cd

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ EnzymeCore = "0.8.2"
6262
ExprTools = "0.1"
6363
GPUArrays = "11.2.1"
6464
GPUCompiler = "0.24, 0.25, 0.26, 0.27, 1"
65-
GPUToolbox = "0.1, 0.2"
65+
GPUToolbox = "0.2"
6666
KernelAbstractions = "0.9.2"
6767
LLVM = "9.1"
6868
LLVMLoopInfo = "1"

src/CUDA.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ using GPUCompiler
44

55
using GPUArrays
66

7-
using GPUToolbox: SimpleVersion, @sv_str
7+
using GPUToolbox
88

99
using LLVM
1010
using LLVM.Interop

src/device/utils.jl

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# helpers for writing device functionality
22

3-
# helper type for writing Int32 literals
4-
# TODO: upstream this
5-
struct Literal{T} end
6-
Base.:(*)(x::Number, ::Type{Literal{T}}) where {T} = T(x)
7-
const i32 = Literal{Int32}
8-
93
# local method table for device functions
104
@static if isdefined(Base.Experimental, Symbol("@overlay"))
115
Base.Experimental.@MethodTable(method_table)

0 commit comments

Comments
 (0)