From 16a55467a86ae69351b3bb471aaa05a97ea4bf46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=9D=8E?= Date: Tue, 15 Jul 2025 13:22:48 +0800 Subject: [PATCH 1/3] Update testsuite.cpp --- tests/testsuites/testsuite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/testsuites/testsuite.cpp b/tests/testsuites/testsuite.cpp index b330408..6637e08 100644 --- a/tests/testsuites/testsuite.cpp +++ b/tests/testsuites/testsuite.cpp @@ -71,7 +71,7 @@ namespace gdrcopy { for (std::vector::iterator it = tests.begin(); it != tests.end(); ++it) { if ((test_map->find(*it) == test_map->end()) && (extended_test_map->find(*it) == extended_test_map->end())) { - gdrcopy::test::print_dbg("Error: Encountered unknown test %s\n", *it); + gdrcopy::test::print_dbg("Error: Encountered unknown test %s\n", it->c_str()); return EINVAL; } } From abc38cbc3f5285af3d5116a7591069f4d2d2ceb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=9D=8E?= Date: Tue, 15 Jul 2025 13:56:16 +0800 Subject: [PATCH 2/3] Update Makefile --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 79f460b..7ad26bf 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,7 +48,7 @@ gdrcopy_apiperf: apiperf.o common.o $(LINK.cc) -o $@ $^ $(LIBS) -lrt gdrcopy_pplat: pplat.o common.o - $(NVCC) -o $@ $^ $(LDFLAGS) -lgdrapi -lcuda + $(LINK.cc) -o $@ $^ $(LDFLAGS) -lgdrapi -lcuda -lcudart %.o: %.cu $(NVCC) -o $@ -c $^ $(LIBS) $(CPPFLAGS) $(NVCCFLAGS) From cf4369994a20b65fbadd237c4fbe6e31c26fc87d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=9D=8E?= Date: Wed, 16 Jul 2025 10:56:46 +0800 Subject: [PATCH 3/3] Update Makefile --- tests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile b/tests/Makefile index 7ad26bf..5543d93 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -48,7 +48,7 @@ gdrcopy_apiperf: apiperf.o common.o $(LINK.cc) -o $@ $^ $(LIBS) -lrt gdrcopy_pplat: pplat.o common.o - $(LINK.cc) -o $@ $^ $(LDFLAGS) -lgdrapi -lcuda -lcudart + $(LINK.cc) -o $@ $^ $(LDFLAGS) -lgdrapi -lcuda -lcudart_static %.o: %.cu $(NVCC) -o $@ -c $^ $(LIBS) $(CPPFLAGS) $(NVCCFLAGS)