Skip to content

Commit 3d44e32

Browse files
authored
Remove second import of aligned_sizeof (#2767)
1 parent 7a83380 commit 3d44e32

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/cudadrv/CUDAdrv.jl

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,6 @@ using Printf
66

77
using LazyArtifacts
88

9-
# Julia has several notions of `sizeof`
10-
# - Base.sizeof is the size of an object in memory
11-
# - Base.aligned_sizeof is the size of an object in an array/inline alloced
12-
# Both of them are equivalent for immutable objects, but differ for mutable singtons and Symbol
13-
# We use `aligned_sizeof` since we care about the size of a type in an array
14-
import Base: aligned_sizeof
15-
169
# low-level wrappers
1710
include("libcuda.jl")
1811
include("libcuda_deprecated.jl")

0 commit comments

Comments
 (0)