You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
# @@@ AUTOTEST_OUTPUT_IGNORED_CELL
import time
def do(x, n):
"""push computation into the backend engine"""
return [mx.nd.dot(x,x) for i in range(n)]
def wait(x):
"""wait until all results are available"""
for y in x:
y.wait_to_read()
tic = time.time()
a = mx.nd.ones((1000,1000))
b = do(a, 50)
print('time for all computations are pushed into the backend engine:\n %f sec' % (time.time() - tic))
wait(b)
print('time for all computations are finished:\n %f sec' % (time.time() - tic))
Steps to reproduce
just run the code above
What have you tried to solve it?
I'm not sure what's going on. What maybe the problem?
The text was updated successfully, but these errors were encountered:
Environment info
Operating System:
CentOS Linux release 7.2.1511
Compiler:
gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)
Package used (Python/R/Scala/Julia):
Python
MXNet version:
mxnet-cu80 (0.9.3a3)
CUDA version:
cuda 8.0.61
Nvidia driver 367.57
GPU Grid K1
Python version and distribution:
CPython 2.7.5
Error Message:
time for all computations are pushed into the backend engine:
0.001749 sec
Illegal instruction
Minimum reproducible example
the following code is copied from mxnet tutorial:
Steps to reproduce
just run the code above
What have you tried to solve it?
I'm not sure what's going on. What maybe the problem?
The text was updated successfully, but these errors were encountered: