Skip to content

Commit 80ec869

Browse files
committed
fixup! Use PrecompileTools to warmup CUDA.jl
1 parent d36c302 commit 80ec869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/precompile.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ precompile(cudaconvert, (Function,))
1515
precompile(Core.kwfunc(cudacall), (NamedTuple{(:threads, :blocks), Tuple{Int64, Int64}},typeof(cudacall),CuFunction,Type{Tuple{}}))
1616
precompile(Core.kwfunc(launch), (NamedTuple{(:threads, :blocks), Tuple{Int64, Int64}},typeof(launch),CuFunction))
1717

18-
@static if VERSION >= v"1.11.0-DEV.1603"
1918
using PrecompileTools: @setup_workload, @compile_workload
19+
@static if VERSION >= v"1.11.0-DEV.1603"
2020
@setup_workload let
2121
@compile_workload begin
2222
target = PTXCompilerTarget(; cap=v"7.5")

0 commit comments

Comments
 (0)