-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 851 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ALL: Makefile.CUDA SumReductionRevealed
ALL: Makefile.CUDA OpenCL_Nvidia DPCPP Kokkos Raja
.PHONY: Makefile.CUDA SumReductionRevealed OpenCL_Nvidia DPCPP Kokkos Raja
Makefile.CUDA:
make -f ./Makefile.CUDA
SumReductionRevealed:
cd CUDA/SumReductionRevealed && make && ./SumReductionRevealed
Kokkos:
cd Kokkos/StreamTriad && mkdir build && cd build && cmake .. && make && ./StreamTriad
Raja:
cd Raja/StreamTriad && mkdir build && cd build && cmake .. && make && ./StreamTriad
OpenCL_Nvidia:
cd OpenCL/StreamTriad && cmake . && make && ./StreamTriad
DPCPP:
cd DPCPP/StreamTriad && make # && ./StreamTriad
clean:
#cd CUDA/SumReductionRevealed && make clean
make -f ./Makefile.CUDA clean
cd Kokkos/StreamTriad && rm -rf build
cd Raja/StreamTriad && rm -rf build
cd OpenCL/StreamTriad && rm -rf build
cd DPCPP/StreamTriad && make clean