diff --git a/src/daphne-hip/Makefile b/src/daphne-hip/Makefile new file mode 100644 index 0000000000..df13651f6b --- /dev/null +++ b/src/daphne-hip/Makefile @@ -0,0 +1,10 @@ +.PHONY: all clean run + +all: + $(MAKE) -C src/points2image + +clean: + $(MAKE) -C src/points2image clean + +run: + $(MAKE) -C src/points2image run diff --git a/src/hpl-hip/Makefile b/src/hpl-hip/Makefile new file mode 100644 index 0000000000..f1c8a5c7ba --- /dev/null +++ b/src/hpl-hip/Makefile @@ -0,0 +1,7 @@ +.PHONY: all clean + +all: + $(MAKE) -C src/hpl-2.3 + +clean: + $(MAKE) -C src/hpl-2.3 clean diff --git a/src/local-ht-hip/Makefile b/src/local-ht-hip/Makefile new file mode 100644 index 0000000000..3fc6328d6c --- /dev/null +++ b/src/local-ht-hip/Makefile @@ -0,0 +1,10 @@ +.PHONY: all clean run + +all: + $(MAKE) -C src + +clean: + $(MAKE) -C src clean + +run: + $(MAKE) -C src run diff --git a/src/logic-resim-hip/Makefile b/src/logic-resim-hip/Makefile new file mode 100644 index 0000000000..2992aa6e81 --- /dev/null +++ b/src/logic-resim-hip/Makefile @@ -0,0 +1,10 @@ +.PHONY: all clean run + +all: + $(MAKE) -C Simulation + +clean: + $(MAKE) -C Simulation clean + +run: + $(MAKE) -C Simulation run diff --git a/src/mf-sgd-hip/Makefile b/src/mf-sgd-hip/Makefile new file mode 100644 index 0000000000..fb423f0364 --- /dev/null +++ b/src/mf-sgd-hip/Makefile @@ -0,0 +1,12 @@ +.PHONY: all clean run + +all: + $(MAKE) -C src + +clean: + $(MAKE) -C src clean + +# Netflix dataset must be downloaded first (see data/README); run.sh +# invokes the trained binary with the dataset paths. +run: all + cd data/netflix && ./run.sh diff --git a/src/miniFE-hip/Makefile b/src/miniFE-hip/Makefile new file mode 100644 index 0000000000..83c0237010 --- /dev/null +++ b/src/miniFE-hip/Makefile @@ -0,0 +1,12 @@ +.PHONY: all clean run + +all: + $(MAKE) -C src + +clean: + $(MAKE) -C src clean + +# src/Makefile builds miniFE.x but doesn't define a `run:` target; invoke +# the binary directly with a small default problem size. +run: all + cd src && ./miniFE.x -nx 128 -ny 128 -nz 128 diff --git a/src/si-hip/Makefile b/src/si-hip/Makefile new file mode 100644 index 0000000000..d4fa7819b6 --- /dev/null +++ b/src/si-hip/Makefile @@ -0,0 +1,13 @@ +# si-hip is the only HIP benchmark that builds via CMake instead of Make. +# This wrapper drives the CMake build out-of-tree under release/ and +# matches the all/clean interface the rest of HeCBench expects. + +.PHONY: all clean + +all: + mkdir -p release + cd release && cmake $(CURDIR) -DCMAKE_BUILD_TYPE=Release + $(MAKE) -C release + +clean: + rm -rf release diff --git a/src/snicit-hip/Makefile b/src/snicit-hip/Makefile new file mode 100644 index 0000000000..d9ad2d5519 --- /dev/null +++ b/src/snicit-hip/Makefile @@ -0,0 +1,10 @@ +.PHONY: all clean run + +all: + $(MAKE) -C bin + +clean: + $(MAKE) -C bin clean + +run: + $(MAKE) -C bin run diff --git a/src/tgvnn-hip/Makefile b/src/tgvnn-hip/Makefile new file mode 100644 index 0000000000..3fc6328d6c --- /dev/null +++ b/src/tgvnn-hip/Makefile @@ -0,0 +1,10 @@ +.PHONY: all clean run + +all: + $(MAKE) -C src + +clean: + $(MAKE) -C src clean + +run: + $(MAKE) -C src run