From 637732a5dc50e37052c40ab694a38ee67bd2dff2 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 21 Jun 2023 15:59:04 +0530 Subject: [PATCH] SWDEV-392758 - Link with thread lib. (#267) Change-Id: I2442f5f0e62238826560717e6719184a6a25dbc5 [ROCm/hip-tests commit: b79517164937626b480d11f553b5569c325f7d25] --- projects/hip-tests/samples/1_Utils/hipDispatchLatency/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip-tests/samples/1_Utils/hipDispatchLatency/Makefile b/projects/hip-tests/samples/1_Utils/hipDispatchLatency/Makefile index fbe37d2932..988827071c 100644 --- a/projects/hip-tests/samples/1_Utils/hipDispatchLatency/Makefile +++ b/projects/hip-tests/samples/1_Utils/hipDispatchLatency/Makefile @@ -35,7 +35,7 @@ hipDispatchLatency.out: hipDispatchLatency.cpp $(HIPCC) $(CXXFLAGS) hipDispatchLatency.cpp -o $@ hipDispatchEnqueueRateMT.out: hipDispatchEnqueueRateMT.cpp - $(HIPCC) $(CXXFLAGS) hipDispatchEnqueueRateMT.cpp -o $@ + $(HIPCC) $(CXXFLAGS) hipDispatchEnqueueRateMT.cpp -lpthread -o $@ test_kernel.code: test_kernel.cpp $(HIP_PATH)/bin/hipcc --genco $(GENCO_FLAGS) $^ -o $@