Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/core/cudadrv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ exclusive = attribute(dev, CUDA.DEVICE_ATTRIBUTE_COMPUTE_MODE) == CUDA.CU_COMPUT

synchronize(ctx)

@test startswith(sprint(show, MIME"text/plain"(), ctx), "CuContext")
@test CUDA.api_version(ctx) isa Cuint

if !exclusive
let ctx2 = CuContext(dev)
@test ctx2 == current_context() # ctor implicitly pushes
Expand Down