Skip to content

Commit fe588bd

Browse files
authored
Merge pull request #3232 from CINES-HPC/compilation-gpu-burn-with-hip
[testlib] Fix compilation of gpu burn benchmark with hip
2 parents 001ac57 + 7ad5c0e commit fe588bd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

hpctestlib/microbenchmarks/gpu/src/gpu_burn/gpu_burn.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public:
161161
XMemcpy(d_B, h_B, d_resultSize, XMemcpyHostToDevice);
162162
}
163163

164-
void compute() = delete;
164+
void compute();
165165

166166
void compare() {
167167
int numberOfErrors;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
RSMI_ROOT?=/opt/rocm/rocm_smi
22

33
gpu_burn:
4-
hipcc -O3 $@.cu -o $@.x -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas
4+
hipcc -O3 $@.cu -o $@.x -DTARGET_HIP ${CXXFLAGS} -std=c++14 -I${RSMI_ROOT}/include -lnuma -lrocm_smi64 -lrocblas -pthreads

0 commit comments

Comments
 (0)