Skip to content

Commit 7543909

Browse files
committed
Fixed the module 9
1 parent 14f7663 commit 7543909

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

modules/module9/examples/01_architecture_hip.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ class GPUHealthMonitor {
504504

505505
private:
506506
void monitoringLoop() {
507-
auto config = ProductionConfig::getInstance();
507+
auto& config = ProductionConfig::getInstance();
508508
int monitoring_interval = config.getInt("health_check_interval", 30); // Default 30 seconds
509509

510510
while (monitoring_active.load()) {

modules/module9/examples/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ CXX_FLAGS = -std=c++17 -O3 -DPRODUCTION_BUILD
3434

3535
# Library flags for production dependencies
3636
CUDA_LIBS = -lcublas -lcurand -lcufft
37-
HIP_LIBS = -lrocblas -lrocrand -lrocfft
37+
HIP_LIBS = -lrocblas -lrocrand -lrocfft -lrocm_smi64
3838
COMMON_LIBS = -lpthread -ldl
3939

4040
# Optional libraries (check for availability)

0 commit comments

Comments
 (0)