You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if!when_interactive &&isinteractive() # NOTE: this is required to avoid that this function returns non-constant values in interactive sessions, when not appropriate (e.g. in for optimization)
@testset"Nested Data.T to Data.Device.T"$(interpolate(:__T__, ARRAYTYPES, :(
218
218
@testset"Nested Data.__T__ to Data.Device.__T__"begin
219
219
@staticif@isgpu($package)
220
220
expansion =@prettystring(1, @parallel_indices (ix,iy) f(A::NamedTuple{T1, NTuple{T2,T3}}where {T1,T2} where T3 <:Data.__T__, c::T) where T <:Integer= (A[ix,iy] = B[ix,iy]^c; return))
221
221
@testoccursin("f(A::((NamedTuple{T1, NTuple{T2, T3}} where {T1, T2}) where T3 <: Data.Device.__T__),", expansion)
222
222
end
223
-
end
224
-
)))
223
+
end;
224
+
)));
225
225
@testset"@parallel_indices (1D)"begin
226
226
A =@zeros(4)
227
227
@parallel_indices (ix) functionwrite_indices!(A)
@@ -422,22 +422,22 @@ eval(:(
422
422
@require!@is_initialized()
423
423
@init_parallel_kernel(package =$package)
424
424
@require@is_initialized
425
-
$(interpolate(:__T__, ARRAYTYPES, :(
425
+
@testset"Data.T{T2} to Data.Device.T{T2}"$(interpolate(:__T__, ARRAYTYPES, :(
426
426
@testset"Data.__T__{T2} to Data.Device.__T__{T2}"begin
0 commit comments