From cd225fa5a0f065f5cff7fae5a78b7d8d1d799c70 Mon Sep 17 00:00:00 2001 From: Xueshen Liu Date: Thu, 12 Oct 2023 09:49:48 -0500 Subject: [PATCH] add new api translation, enable analysis print --- gpu/hipify.cuh | 1 + scripts/acc_integrated.slurm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gpu/hipify.cuh b/gpu/hipify.cuh index 6b57f338..4e719fe2 100644 --- a/gpu/hipify.cuh +++ b/gpu/hipify.cuh @@ -30,6 +30,7 @@ #define cudaEventQuery hipEventQuery #define cudaEventDestroy hipEventDestroy #define cudaEventElapsedTime hipEventElapsedTime +#define cudaStreamWaitEvent hipStreamWaitEvent #define cudaCheck() { \ hipError_t err = hipGetLastError(); \ if (hipSuccess != err) { \ diff --git a/scripts/acc_integrated.slurm b/scripts/acc_integrated.slurm index 3986be3e..8fd2100b 100644 --- a/scripts/acc_integrated.slurm +++ b/scripts/acc_integrated.slurm @@ -25,7 +25,7 @@ module load rocm-5.4.3 # Replace the following line with the actual command(s) you want to run cd /shared/prod/home/liuxs/bioinfo/minimap2/ make clean -make GPU_CONFIG=gpu_config.json SHORT_BLOCK_SIZE=64 LONG_BLOCK_SIZE=1024 MID_BLOCK_SIZE=512 MID_CUT=1 LONG_CUT=100 +make DEBUG_ANALYSIS=1 GPU_CONFIG=gpu_config.json SHORT_BLOCK_SIZE=64 LONG_BLOCK_SIZE=1024 MID_BLOCK_SIZE=512 MID_CUT=1 LONG_CUT=100 # ./minimap2 -t 1 --max-chain-skip=2147483647 --gpu-chain /shareddata/umich_folder/data/ONT/hg38.mmi /shareddata/umich_folder/data/ONT/reads_4f452f4a-d82a-4580-981b-32d14b997217.fa ./minimap2 -t 1 --max-chain-skip=2147483647 --gpu-chain /shareddata/umich_folder/data/ONT/hg38.mmi /shareddata/umich_folder/data/ONT/random_500MBases_200kto300k.fa # ./minimap2 -t 1 --max-chain-skip=2147483647 --gpu-chain /shareddata/umich_folder/data/ONT/hg38.mmi /shareddata/umich_folder/data/ONT/short_seg_reads_from_1kto10k_distri.fa