#!/bin/sh
# Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

#=============================================================================
# struct: GPU benchmarks
#=============================================================================

# SMG CG
mpirun -np 4 ./struct -n 2048 2048 1 -d 2 -solver 10 -repeats 2 > benchmark_struct.out.1

mpirun -np 4 ./struct -n 3072 3072 1 -d 2 -solver 10 -repeats 2 > benchmark_struct.out.2

mpirun -np 4 ./struct -n 128 128 128      -solver 10 -repeats 2 > benchmark_struct.out.3

mpirun -np 4 ./struct -n 200 200 200      -solver 10 -repeats 2 > benchmark_struct.out.4

# PFMG CG
mpirun -np 4 ./struct -n 2048 2048 1 -d 2 -solver 11 -repeats 2 > benchmark_struct.out.5

mpirun -np 4 ./struct -n 4096 4096 1 -d 2 -solver 11 -repeats 2 > benchmark_struct.out.6

mpirun -np 4 ./struct -n 256 256 256      -solver 11 -repeats 2 > benchmark_struct.out.7

mpirun -np 4 ./struct -n 300 300 300      -solver 11 -repeats 2 > benchmark_struct.out.8

