Skip to content

Commit 7a1e65f

Browse files
committed
add phtread link and fix compute declaration
1 parent f0b0277 commit 7a1e65f

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)