
* initial commit for adding hip-examples package * adding test to hip-examples * fixed compile error on add4 * change standalone test to use new syntax
10 lines
214 B
Diff
10 lines
214 B
Diff
diff --git a/add4/Makefile b/add4/Makefile
|
|
index a0c6826..d7b26b1 100644
|
|
--- a/add4/Makefile
|
|
+++ b/add4/Makefile
|
|
@@ -1,4 +1,4 @@
|
|
-CXXFLAGS += -std=c++11 -O3
|
|
+CXXFLAGS += -std=c++11 -O3 -fPIC
|
|
|
|
all: gpu-stream-hip
|