MCPcopy Create free account
hub / github.com/Kaggle/docker-python / test_pycuda

Method test_pycuda

tests/test_pycuda.py:10–14  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8class TestPycuda(unittest.TestCase):
9 @gpu_test
10 def test_pycuda(self):
11 import pycuda.driver
12 pycuda.driver.init()
13 gpu_name = pycuda.driver.Device(0).name()
14 self.assertNotEqual(0, len(gpu_name))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected