Skip to content

Commit 76e2972

Browse files
authored
Fix a method deprecation. (#2470)
1 parent 4918437 commit 76e2972

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/deprecated.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ using Base: @deprecate_binding
3030
@deprecate_binding HOSTREGISTER_IOMEMORY CUDA.MEMHOSTREGISTER_IOMEMORY false
3131

3232
@deprecate register(args...) CUDA.register(args...) false
33-
@deprecate unregister(args...) CUDA.register(args...) false
33+
@deprecate unregister(args...) CUDA.unregister(args...) false
3434

3535
@deprecate_binding ATTACH_GLOBAL CUDA.MEM_ATTACH_GLOBAL false
3636
@deprecate_binding ATTACH_HOST CUDA.MEM_ATTACH_HOST false

0 commit comments

Comments
 (0)