Skip to content

Commit 935a6db

Browse files
committed
get_num_tblis_threads to unexported get_num_threads
1 parent 0fbff61 commit 935a6db

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/TensorOperationsTBLIS.jl

+4-5
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,9 @@ using .LibTBLIS
1616
using .LibTBLIS: LibTBLIS, len_type, stride_type
1717

1818
export TBLIS
19-
export get_num_tblis_threads, set_num_tblis_threads
2019

21-
get_num_tblis_threads() = convert(Int, LibTBLIS.tblis_get_num_threads())
22-
set_num_tblis_threads(n) = LibTBLIS.tblis_set_num_threads(convert(Cuint, n))
20+
get_num_threads() = convert(Int, LibTBLIS.tblis_get_num_threads())
21+
set_num_threads(n) = LibTBLIS.tblis_set_num_threads(convert(Cuint, n))
2322

2423
# TensorOperations
2524
#------------------
@@ -34,8 +33,8 @@ or BLAS.
3433
struct TBLIS <: TensorOperations.AbstractBackend end
3534

3635
Base.@deprecate(tblisBackend(), TBLIS())
37-
Base.@deprecate(tblis_get_num_threads(), get_num_tblis_threads())
38-
Base.@deprecate(tblis_set_num_threads(n), set_num_tblis_threads(n))
36+
Base.@deprecate(tblis_get_num_threads(), get_num_threads())
37+
Base.@deprecate(tblis_set_num_threads(n), set_num_threads(n))
3938

4039
include("strided.jl")
4140

0 commit comments

Comments
 (0)