Skip to content

Commit 6c090a7

Browse files
committed
copying CUDA
1 parent 7f58602 commit 6c090a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Metal.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ using ExprTools: splitdef, combinedef
1414
using Artifacts
1515
using ObjectiveC, .CoreFoundation, .Foundation, .Dispatch, .OS
1616

17+
import KernelAbstractions as KA
18+
1719
# core library
1820
include("../lib/mtl/MTL.jl")
1921
@reexport using .MTL
@@ -61,7 +63,7 @@ include("random.jl")
6163

6264
# KernelAbstractions
6365
include("MetalKernels.jl")
64-
import .MetalKernels: MetalBackend
66+
import .MetalKernels: MetalBackend, KA.launch_config
6567
export MetalBackend
6668

6769
include("gpuarrays.jl")

0 commit comments

Comments
 (0)