add CUDA12 H100 build
This commit is contained in:
22
blake-h100-cuda12/run.sh
Executable file
22
blake-h100-cuda12/run.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#! /bin/bash
|
||||
#SBATCH -N 1
|
||||
#SBATCH -p H100
|
||||
|
||||
set -eou pipefail
|
||||
|
||||
source "$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"/env.sh
|
||||
|
||||
LOG_DIR="$(date +"%Y%m%d_%H%M%S")_run"
|
||||
export LOG_DIR
|
||||
mkdir -p "$LOG_DIR"
|
||||
|
||||
|
||||
srun -n1 -t 1 lscpu |& tee "$LOG_DIR/lscpu.log" || true
|
||||
srun -n1 -t 1 hostname |& tee "$LOG_DIR/hostname.log" || true
|
||||
srun -n1 -t 1 cat /proc/cpuinfo |& tee "$LOG_DIR/cpuinfo.log" || true
|
||||
srun -n1 -t 1 env |& tee "$LOG_DIR/env.log" || true
|
||||
|
||||
|
||||
srun -N 1 -p H100 -n 1 -t 60 ctest --test-dir "$KERNELS_BUILD" |& tee "$LOG_DIR/ctest.log"
|
||||
srun -N 1 -p H100 -n 1 -t 60 "$KERNELS_BUILD"/perf_test/blas/blas3/KokkosKernels_Blas3_gemm_benchmark --cuda 0 |& tee "$LOG_DIR/gemm.log"
|
||||
srun -N 1 -p H100 -n 1 -t 60 "$KERNELS_BUILD"/perf_test/sparse/KokkosKernels_sparse_spmv_benchmark -f /projects/cwpears/sparc_gpu_problems/single_gpu/matrix.mm |& tee "$LOG_DIR/spmv.log"
|
Reference in New Issue
Block a user