Skip to content

Commit

Permalink
Renable CuArray construction test
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed Jan 8, 2025
1 parent 69750f5 commit 51357db
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/ext/cuda/cuda.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pkg.activate(@__DIR__)
Pkg.develop(; path=joinpath(@__DIR__, "..", "..", ".."))

using AllocCheck, CUDA, JET, Mooncake, StableRNGs, Test
using Mooncake.TestUtils: test_tangent_consistency, test_fwds_rvs_data
using Mooncake.TestUtils: test_tangent_consistency, test_fwds_rvs_data, test_rule

@testset "cuda" begin

Expand All @@ -12,14 +12,14 @@ using Mooncake.TestUtils: test_tangent_consistency, test_fwds_rvs_data
test_tangent_consistency(StableRNG(123456), p; interface_only=false)
test_fwds_rvs_data(StableRNG(123456), p)

# # Check we can instantiate a CuArray.
# test_rule(
# StableRNG(123456),
# CuArray{Float32,1,CUDA.DeviceMemory},
# undef,
# 256;
# interface_only=true,
# is_primitive=true,
# debug_mode=true,
# )
# Check we can instantiate a CuArray.
test_rule(
StableRNG(123456),
CuArray{Float32,1,CUDA.DeviceMemory},
undef,
256;
interface_only=true,
is_primitive=true,
debug_mode=true,
)
end

0 comments on commit 51357db

Please sign in to comment.