Loading arrayreduction/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ CSRCS = arrayreduction.c ######################################################### OMP ?= 0 MODE ?= normal POSTCMD ?= cp ./gpu.sh ./bin/ ######################################################### # Use the following macros to give program-specific # Loading arrayreduction/O2GBuild.script +2 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,6 @@ echo "\$ make" echo "" echo "====> To run the compiled binary:" echo "\$ cd bin; arrayreduction_ACC" echo "Or" echo "\$ cd bin; sbatch gpu.sh" echo "" arrayreduction/gpu.sh 0 → 100755 +17 −0 Original line number Diff line number Diff line #!/bin/bash #SBATCH -J gpu_job #SBATCH -p ivy_k40_2 #SBATCH -N 1 #SBATCH -n 1 #SBATCH -o %x.o%j #SBATCH -e %x.e%j #SBATCH --time 00:10:00 #SBATCH --gres=gpu:1 #SBATCH --comment etc # See Application SBATCH options name table's export OMP_NUM_THREADS=1 ./arrayreduction_ACC exit 0 jacobi_mpi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ AOCL_BOARD ?= p510t_sch_ax115 #AOCL_FLAGS ?= -v -g -c -report AOCL_FLAGS ?= -v -c -report #AOCL_FLAGS ?= -v -report POSTCMD ?= cp ./gpu.sh ./bin/ ######################################################### # Use the following macros to give program-specific # Loading jacobi_mpi/O2GBuild.script +3 −1 Original line number Diff line number Diff line Loading @@ -55,4 +55,6 @@ echo "\$ make" echo "" echo "====> To run the compiled binary:" echo "\$ cd bin; jacobi_ACC" echo "Or" echo "\$ cd bin; sbatch gpu.sh" echo "" Loading
arrayreduction/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,7 @@ CSRCS = arrayreduction.c ######################################################### OMP ?= 0 MODE ?= normal POSTCMD ?= cp ./gpu.sh ./bin/ ######################################################### # Use the following macros to give program-specific # Loading
arrayreduction/O2GBuild.script +2 −0 Original line number Diff line number Diff line Loading @@ -41,4 +41,6 @@ echo "\$ make" echo "" echo "====> To run the compiled binary:" echo "\$ cd bin; arrayreduction_ACC" echo "Or" echo "\$ cd bin; sbatch gpu.sh" echo ""
arrayreduction/gpu.sh 0 → 100755 +17 −0 Original line number Diff line number Diff line #!/bin/bash #SBATCH -J gpu_job #SBATCH -p ivy_k40_2 #SBATCH -N 1 #SBATCH -n 1 #SBATCH -o %x.o%j #SBATCH -e %x.e%j #SBATCH --time 00:10:00 #SBATCH --gres=gpu:1 #SBATCH --comment etc # See Application SBATCH options name table's export OMP_NUM_THREADS=1 ./arrayreduction_ACC exit 0
jacobi_mpi/Makefile +1 −0 Original line number Diff line number Diff line Loading @@ -64,6 +64,7 @@ AOCL_BOARD ?= p510t_sch_ax115 #AOCL_FLAGS ?= -v -g -c -report AOCL_FLAGS ?= -v -c -report #AOCL_FLAGS ?= -v -report POSTCMD ?= cp ./gpu.sh ./bin/ ######################################################### # Use the following macros to give program-specific # Loading
jacobi_mpi/O2GBuild.script +3 −1 Original line number Diff line number Diff line Loading @@ -55,4 +55,6 @@ echo "\$ make" echo "" echo "====> To run the compiled binary:" echo "\$ cd bin; jacobi_ACC" echo "Or" echo "\$ cd bin; sbatch gpu.sh" echo ""