Skip to content

Commit f3e8768

Browse files
committed
detect compute capability
1 parent 4e31e04 commit f3e8768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ParallelKernel/MetalExt/defaults.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ const ERRMSG_METALEXT_NOT_LOADED = "the Metal extension was not loaded. Make sur
44

55
function get_priority_metalstream end
66
function get_metalstream end
7+
function get_metal_compute_capability end
8+
79

810
# allocators
911

@@ -14,5 +16,3 @@ falses_metal(arg...) = @NotLoadedError(ERRMSG_METALEXT_NOT_LOADED)
1416
trues_metal(arg...) = @NotLoadedError(ERRMSG_METALEXT_NOT_LOADED)
1517
fill_metal(arg...) = @NotLoadedError(ERRMSG_METALEXT_NOT_LOADED)
1618
fill_metal!(arg...) = @NotLoadedError(ERRMSG_METALEXT_NOT_LOADED)
17-
18-

0 commit comments

Comments
 (0)