Adding -pthread flag for linking issues into src/Makefile (#30)

* Adding -pthread flag for linking issues into src/Makefile

* Adding -pthread flag for linking issues into CMakeLists.txt
This commit is contained in:
Pedram Alizadeh
2023-02-24 21:39:04 -05:00
committed by GitHub
parent 453e72972b
commit 5275aa5715
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ endif
HIPCUFLAGS += -I$(ROCM_PATH)/include
HIPCUFLAGS += -I$(ROCM_PATH)/include/hip
LDFLAGS += -L$(ROCM_PATH)/lib -lhsa-runtime64 -lrt
HIPLDFLAGS += $(CUSTOM_RCCL_LIB) -L$(ROCM_PATH)/lib -lhsa-runtime64 -lrt
HIPLDFLAGS += $(CUSTOM_RCCL_LIB) -L$(ROCM_PATH)/lib -lhsa-runtime64 -lrt -pthread
ifeq ($(DEBUG), 0)
HIPCUFLAGS += -O3