|
|
|||
File indexing completed on 2026-04-09 07:49:31
0001 #!/bin/bash 0002 0003 name=sc4u 0004 gcc $name.cc -std=c++11 -lstdc++ -I. -I/usr/local/cuda/include -o /tmp/$name 0005 [ $? -ne 0 ] && echo compile error && exit 1 0006 0007 /tmp/$name 0008 [ $? -ne 0 ] && echo run error && exit 2 0009 0010 ipython -i -c "import numpy as np ; a = np.load('/tmp/p.npy') ; print(a.view(np.int8)) " 0011 [ $? -ne 0 ] && echo ana error && exit 3 0012 0013 exit 0 0014
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|