Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to 1.0F HSA run-time and GCC producing 1.0F HSAIL #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/setenv.gcc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HSA_RUNTIME_PATH=/opt/hsa
export HSA_RUNTIME_PATH=/opt/hsa
export GCCINSTALLDIR=/usr/local/hsagcc
export OPTFLAGS=-O3
export LD_LIBRARY_PATH=/usr/local/lib:$HSA_RUNTIME_PATH/lib:$GCCINSTALLDIR/lib64:$GCCINSTALLDIR/lib32:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/lib:$HSA_RUNTIME_PATH:$GCCINSTALLDIR/lib64:$GCCINSTALLDIR/lib32:$LD_LIBRARY_PATH
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/GCC_unittest/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Placeholder for negative testcases
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
#CFLAGS=-lm -fopenmp -Wall -O3
#CFLAGS=-lm -fopenmp -Wall -O3
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/c_veccopytest/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
GCCHSAIL=gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O0 # Pass
#CFLAGS=-lm -fopenmp -Wall -O3 # Crashes TransformScratch

Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/obsedian_veccopy/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O0 # Pass
#CFLAGS=-lm -fopenmp -Wall -O3 # Crashes TransformScratch

Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/rodinia_backprop/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3
#CFLAGS=-lm -fopenmp -Wall -O2
#CFLAGS=-lm -fopenmp -Wall -O3
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/rodinia_leukocyte/OpenMP/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt

CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
#CFLAGS=-lm -fopenmp -Wall -O3
Expand Down
74 changes: 37 additions & 37 deletions examples/usecases/XFAIL/rodinia_myocyte/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
CFLAGS=-lm -fopenmp -Wall -O0
#CFLAGS=-lm -fopenmp -Wall -O0
#CFLAGS=-lm -fopenmp -Wall -O3
# Example
# target: dependencies
# command 1
# command 2
# .
# .
# .
# command n
# link objects(binaries) together
myocyte.out: main.o
gcc main.o \
-lm -fopenmp \
-o myocyte.out
# compile main function file into object (binary)
main.o: main.c \
define.c \
ecc.c \
cam.c \
fin.c \
master.c \
embedded_fehlberg_7_8.c \
solver.c \
file.c \
timer.c
$(GCCHSAIL) $(CFLAGS) $(LDFLAGS) main.c \
-c -O3 -fopenmp
# delete all object files
clean:
rm -rf *.o myocyte.out output.txt *.hsail *.brig
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O0
#CFLAGS=-lm -fopenmp -Wall -O0
#CFLAGS=-lm -fopenmp -Wall -O3
# Example
# target: dependencies
# command 1
# command 2
# .
# .
# .
# command n

# link objects(binaries) together
myocyte.out: main.o
gcc main.o \
-lm -fopenmp \
-o myocyte.out

# compile main function file into object (binary)
main.o: main.c \
define.c \
ecc.c \
cam.c \
fin.c \
master.c \
embedded_fehlberg_7_8.c \
solver.c \
file.c \
timer.c
$(GCCHSAIL) $(CFLAGS) $(LDFLAGS) main.c \
-c -O3 -fopenmp

# delete all object files
clean:
rm -rf *.o myocyte.out output.txt *.hsail *.brig
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/rodinia_pathfinder/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/g++
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
#CFLAGS=-lm -fopenmp -Wall -O3
#CC = g++
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/XFAIL/rodinia_steamcluster/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt

CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
#CFLAGS=-lm -fopenmp -Wall -O0
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/c_veccopy/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3 # Fail

all : omp_veccopy
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/c_veccopy_lto/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3 # Pass

all : omp_veccopy hsakernel.o
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/c_veccopy_multiple_brig/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3 # Pass

all : omp_veccopy
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/fortran_veccopy/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gfortran
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -lgfortran
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -lgfortran -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3

all : omp_veccopy
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/matmul/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/g++
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3
all : matmul
clean :
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_bfs/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt

CFLAGS=-lm -fopenmp -Wall -O3
all : bfs
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_heartwall/makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -Wl,-rpath,$(OKRA_BIN)
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -Wl,-rpath,$(OKRA_BIN) -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O2

all : heartwall
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_kmeans_openmp/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -Wl,-rpath,$(OKRA_BIN) -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -Wl,-rpath,$(OKRA_BIN) -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CC=$(GCCHSAIL)
#CFLAGS=-lm -fopenmp -Wall -O2
CFLAGS=-lm -fopenmp -Wall -O2 -g
Expand Down
Empty file modified examples/usecases/rodinia_lud/base/Makefile
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_lud/omp/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS_HW=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS_HW=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O1
all : lud_omp

Expand Down
Empty file modified examples/usecases/rodinia_lud/omp/Makefile.host
100755 → 100644
Empty file.
Empty file modified examples/usecases/rodinia_lud/omp/Makefile.orig
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_nn/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
#CFLAGS=-lm -fopenmp -Wall -O0
#CFLAGS=-lm -fopenmp -Wall -O3
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_nw/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -L$(OKRA_BIN) -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3

all : needle
Expand Down
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_srad/srad_v1/makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt

CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)

Expand Down
20 changes: 10 additions & 10 deletions examples/usecases/rodinia_srad/srad_v1/temp
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
The file was not opened for reading
Time spent in different stages of the application:
0.000000000000 s, 0.000000000000 % : SETUP VARIABLES
0.000008000000 s, 0.000486847770 % : READ COMMAND LINE PARAMETERS
0.000207999998 s, 0.012658042833 % : READ IMAGE FROM FILE
0.001149000018 s, 0.069923520088 % : RESIZE IMAGE
0.000032000000 s, 0.001947391080 % : SETUP, MEMORY ALLOCATION
0.004840999842 s, 0.294603765011 % : EXTRACT IMAGE
1.478042960167 s, 89.947746276855 % : COMPUTE
0.001725999988 s, 0.105037413538 % : COMPRESS IMAGE
0.156773000956 s, 9.540574073792 % : SAVE IMAGE INTO FILE
0.000444000005 s, 0.027020053938 % : FREE MEMORY
0.000018999999 s, 0.000659590063 % : READ COMMAND LINE PARAMETERS
0.000043000000 s, 0.001492756419 % : READ IMAGE FROM FILE
0.001837000018 s, 0.063771948218 % : RESIZE IMAGE
0.000059000002 s, 0.002048200695 % : SETUP, MEMORY ALLOCATION
0.007131999824 s, 0.247589290142 % : EXTRACT IMAGE
2.799021005630 s, 97.168762207031 % : COMPUTE
0.004323999863 s, 0.150108814240 % : COMPRESS IMAGE
0.067373000085 s, 2.338871717453 % : SAVE IMAGE INTO FILE
0.000768999977 s, 0.026696041226 % : FREE MEMORY
Total time:
1.643224000931 s
2.880577087402 s
2 changes: 1 addition & 1 deletion examples/usecases/rodinia_srad/srad_v2/Makefile
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCCINSTALLDIR)/bin/gcc
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl
LDFLAGS=-L $(GCCINSTALLDIR)/lib64 -Wl,-rpath,$(GCCINSTALLDIR)/lib64 -ldl -L$(HSA_RUNTIME_PATH) -lhsa-runtime64 -lhsakmt
#CFLAGS=-lm -fopenmp -Wall
#CFLAGS=-lm -fopenmp -Wall $(OPTFLAGS)
CFLAGS=-lm -fopenmp -Wall -O3
Expand Down
9 changes: 2 additions & 7 deletions samples/env.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
#This should point to top of the directory obtained after downloading from this github repo: https://github.com/HSAFoundation/Okra-Interface-to-HSA-Device
HSA_OKRA_PATH=<EDIT PATH>
#This should point to top of the directory obtained after downloading from this github repo: https://github.com/HSAFoundation/HSA-Runtime-AMD
HSA_RUNTIME_PATH=<EDIT PATH>
#This should point to the libhsakmt directory obtained after downloading from this github repo: https://github.com/HSAFoundation/HSA-Drivers-Linux-AMD/tree/master/kfd-0.8/libhsakmt
HSA_KMT_PATH=<EDIT PATH>
#OKRA has been tested only with 64 bit, so make sure you point to 64-bit binaries of HSA Runtime and KMT libraries
HSA_LIBRARY_PATH=$HSA_OKRA_PATH/okra/dist/bin:$HSA_RUNTIME_PATH/lib/x86_64:$HSA_KMT_PATH/lnx64a:$LD_LIBRARY_PATH
export HSA_LIBRARY_PATH=$HSA_RUNTIME_PATH/lib

# GCC built from HSA branch - https://gcc.gnu.org/svn/gcc/branches/hsa
export GCC_HSA=<EDIT PATH>
export LD_LIBRARY_PATH=$HSA_LIBRARY_PATH:$GCC_HSA/lib64:$GCC_HSA/lib32:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$HSA_LIBRARY_PATH:$GCC_HSA/lib64:$GCC_HSA/lib:$LD_LIBRARY_PATH
2 changes: 1 addition & 1 deletion samples/matrixMultiply/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCC_HSA)/bin/gcc
LDFLAGS=-L $(GCC_HSA)/lib64 -Wl,-rpath,$(GCC_HSA)/lib64
LDFLAGS=-L $(GCC_HSA)/lib64 -Wl,-rpath,$(GCC_HSA)/lib64 -L$(HSA_LIBRARY_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3
all : matmul
clean :
Expand Down
2 changes: 1 addition & 1 deletion samples/vectorCopy/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCCHSAIL=$(GCC_HSA)/bin/gcc
LDFLAGS=-L $(GCC_HSA)/lib64 -Wl,-rpath,$(GCC_HSA)/lib64
LDFLAGS=-L $(GCC_HSA)/lib64 -Wl,-rpath,$(GCC_HSA)/lib64 -L$(HSA_LIBRARY_PATH) -lhsa-runtime64 -lhsakmt
CFLAGS=-lm -fopenmp -Wall -O3

all : omp_veccopy
Expand Down