瀏覽代碼

starpupy/examples: pass parameters to python script

Nathalie Furmento 4 年之前
父節點
當前提交
924cac328f
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      starpupy/examples/starpu_py.sh
  2. 1 1
      starpupy/examples/starpu_py_np.sh
  3. 1 1
      starpupy/examples/starpu_py_parallel.sh

+ 1 - 1
starpupy/examples/starpu_py.sh

@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-$(dirname $0)/execute.sh starpu_py.py
+$(dirname $0)/execute.sh starpu_py.py $*
 

+ 1 - 1
starpupy/examples/starpu_py_np.sh

@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-$(dirname $0)/execute.sh starpu_py_np.py
+$(dirname $0)/execute.sh starpu_py_np.py $*
 

+ 1 - 1
starpupy/examples/starpu_py_parallel.sh

@@ -15,5 +15,5 @@
 # See the GNU Lesser General Public License in COPYING.LGPL for more details.
 #
 
-STARPU_CALIBRATE=1 $(dirname $0)/execute.sh starpu_py_parallel.py
+STARPU_CALIBRATE=1 $(dirname $0)/execute.sh starpu_py_parallel.py $*