Skip to content

Commit

Permalink
Merge pull request #3232 from CINES-HPC/compilation-gpu-burn-with-hip
Browse files Browse the repository at this point in the history
[testlib] Fix compilation of gpu burn benchmark with hip
  • Loading branch information
vkarak authored Oct 4, 2024
2 parents 001ac57 + 7ad5c0e commit fe588bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hpctestlib/microbenchmarks/gpu/src/gpu_burn/gpu_burn.cu
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public:
XMemcpy(d_B, h_B, d_resultSize, XMemcpyHostToDevice);
}

void compute() = delete;
void compute();

void compare() {
int numberOfErrors;
Expand Down
2 changes: 1 addition & 1 deletion hpctestlib/microbenchmarks/gpu/src/gpu_burn/makefile.hip
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RSMI_ROOT?=/opt/rocm/rocm_smi

gpu_burn:
hipcc -O3 [email protected] -o [email protected] -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas
hipcc -O3 [email protected] -o [email protected] -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -pthreads

0 comments on commit fe588bd

Please sign in to comment.