Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit b150447

Browse files
committed
Whitespace changes.
1 parent fe9ba9b commit b150447

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/context.jl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Cassette.overdub(::CUDACtx, ::typeof(Core.kwfunc), f) = return Core.kwfunc(f)
4848
@inline Cassette.overdub(::CUDACtx, ::typeof(Base.isbitstype), t) = return Base.isbitstype(t)
4949
@inline Cassette.overdub(::CUDACtx, ::typeof(Base.isbits), x) = return Base.isbits(x)
5050

51-
@inline Cassette.overdub(::CUDACtx, ::typeof(datatype_align), ::Type{T}) where {T} = datatype_align(T)
51+
@inline Cassette.overdub(::CUDACtx, ::typeof(datatype_align), ::Type{T}) where {T} = datatype_align(T)
5252

5353
###
5454
# Rewrite functions
@@ -57,9 +57,9 @@ Cassette.overdub(ctx::CUDACtx, ::typeof(isdevice)) = true
5757

5858
# libdevice.jl
5959
for f in (:cos, :cospi, :sin, :sinpi, :tan,
60-
:acos, :asin, :atan,
60+
:acos, :asin, :atan,
6161
:cosh, :sinh, :tanh,
62-
:acosh, :asinh, :atanh,
62+
:acosh, :asinh, :atanh,
6363
:log, :log10, :log1p, :log2,
6464
:exp, :exp2, :exp10, :expm1, :ldexp,
6565
:isfinite, :isinf, :isnan,
@@ -73,4 +73,3 @@ for f in (:cos, :cospi, :sin, :sinpi, :tan,
7373
end
7474

7575
contextualize(f::F) where F = (args...) -> Cassette.overdub(cudactx, f, args...)
76-

0 commit comments

Comments
 (0)