-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'beff_synth' into 'master'
Beff synth See merge request pc2/HPCC_FPGA!44
- Loading branch information
Showing
8 changed files
with
81 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# This file contains the default configuration for the Nallatech 520N board | ||
# for the use with single precision floating point values. | ||
# To use this configuration file, call cmake with the parameter | ||
# | ||
# cmake [...] -DHPCC_FPGA_CONFIG="path to this file" | ||
# | ||
|
||
|
||
set(USE_MPI Yes CACHE BOOL "" FORCE) | ||
set(USE_SVM No CACHE BOOL "" FORCE) | ||
set(USE_HBM No CACHE BOOL "" FORCE) | ||
set(FPGA_BOARD_NAME "p520_max_sg280l" CACHE STRING "" FORCE) | ||
set(AOC_FLAGS "-fpc -fp-relaxed -seed=7" CACHE STRING "" FORCE) | ||
|
||
# GEMM specific options | ||
set(CHANNEL_WIDTH 32 CACHE STRING "Width of a single external channel in Byte" FORCE) | ||
set(NUM_REPLICATIONS 2 CACHE STRING "Number of kernel replications" FORCE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/bash | ||
# | ||
# Synthesize the b_eff kernel for the Nallaatech 520N board. | ||
# This is an example script, how the synthesis can be started on Noctua using a HPCC FPGA configuration file. | ||
# Submit this script to sbatch in this folder! | ||
# | ||
#SBATCH -p fpgasyn | ||
#SBATCH -J b_eff | ||
|
||
module load intelFPGA_pro/20.4.0 | ||
module load nalla_pcie/19.4.0_hpc | ||
module load intel | ||
module load devel/CMake/3.15.3-GCCcore-8.3.0 | ||
|
||
SCRIPT_PATH=${SLURM_SUBMIT_DIR} | ||
|
||
BENCHMARK_DIR=${SCRIPT_PATH}/../ | ||
|
||
SYNTH_DIR=${PFS_SCRATCH}/synth/520n/multi_fpga/b_eff | ||
|
||
|
||
mkdir -p ${SYNTH_DIR} | ||
cd ${SYNTH_DIR} | ||
|
||
cmake ${BENCHMARK_DIR} -DCMAKE_BUILD_TYPE=Release -DHPCC_FPGA_CONFIG=${BENCHMARK_DIR}/configs/Bittware_520N.cmake | ||
|
||
make communication_bw520n_intel Network_intel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters