質問編集履歴

2

簡単なコードでも同様なエラー発生

2018/10/22 00:25

投稿

kinopy4470
kinopy4470

スコア12

test CHANGED
File without changes
test CHANGED
@@ -55,3 +55,45 @@
55
55
 
56
56
 
57
57
  ---------------------------------------------------------------
58
+
59
+
60
+
61
+ ■簡単なコードでも同様なエラー発生
62
+
63
+ C:\Users\Test>python
64
+
65
+ Python 3.7.0 (default, Jun 28 2018, 08:04:48) [MSC v.1912 64 bit (AMD64)] :: Anaconda, Inc. on win32
66
+
67
+ Type "help", "copyright", "credits" or "license" for more information.
68
+
69
+ >>> import cupy as cp
70
+
71
+ >>> A = cp.arange(9).reshape(3,3).astype('f') #cupyで3*3の行列生成
72
+
73
+ Traceback (most recent call last):
74
+
75
+ File "<stdin>", line 1, in <module>
76
+
77
+ File "C:\Users\Test\AppData\Local\Continuum\anaconda3\lib\site-packages\cupy\creation\ranges.py", line 55, in arange
78
+
79
+ ret = cupy.empty((size,), dtype=dtype)
80
+
81
+ File "C:\Users\Test\AppData\Local\Continuum\anaconda3\lib\site-packages\cupy\creation\basic.py", line 20, in empty
82
+
83
+ return cupy.ndarray(shape, dtype, order=order)
84
+
85
+ File "cupy\core\core.pyx", line 150, in cupy.core.core.ndarray.__init__
86
+
87
+ File "cupy\cuda\memory.pyx", line 517, in cupy.cuda.memory.alloc
88
+
89
+ File "cupy\cuda\memory.pyx", line 1064, in cupy.cuda.memory.MemoryPool.malloc
90
+
91
+ File "cupy\cuda\memory.pyx", line 1084, in cupy.cuda.memory.MemoryPool.malloc
92
+
93
+ File "cupy\cuda\device.pyx", line 19, in cupy.cuda.device.get_device_id
94
+
95
+ File "cupy\cuda\runtime.pyx", line 165, in cupy.cuda.runtime.getDevice
96
+
97
+ File "cupy\cuda\runtime.pyx", line 137, in cupy.cuda.runtime.check_status
98
+
99
+ cupy.cuda.runtime.CUDARuntimeError: cudaErrorUnknown: unknown error

1

簡単なコードで試してみても同様なエラー発生

2018/10/22 00:25

投稿

kinopy4470
kinopy4470

スコア12

test CHANGED
File without changes
test CHANGED
File without changes