We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9de0cd commit 16bd4e4Copy full SHA for 16bd4e4
1 file changed
test/core/cudadrv.jl
@@ -15,6 +15,9 @@ exclusive = attribute(dev, CUDA.DEVICE_ATTRIBUTE_COMPUTE_MODE) == CUDA.CU_COMPUT
15
16
synchronize(ctx)
17
18
+@test startswith(sprint(show, MIME"text/plain"(), ctx), "CuContext")
19
+@test CUDA.api_version(ctx) isa Cuint
20
+
21
if !exclusive
22
let ctx2 = CuContext(dev)
23
@test ctx2 == current_context() # ctor implicitly pushes
0 commit comments