Skip to content
Snippets Groups Projects
Commit fe3aa9d2 authored by Prakalp Srivastava's avatar Prakalp Srivastava
Browse files

Makefile for sad (parboil) added. Not complete yet ..

parent db6a2834
No related branches found
No related tags found
No related merge requests found
PARBOIL_ROOT = /home/psrivas2/current-test/parboil
APP = sad
# Default compile visc
ifeq ($(VERSION),)
VERSION = opencl_base
endif
# Default use small test case
ifeq ($(TEST),)
TEST = small
endif
BIN = $(addsuffix -$(VERSION), $(APP))
SRCDIR = src/$(VERSION)
BUILDDIR = build/$(VERSION)
DATASET_DIR = $(PARBOIL_ROOT)/datasets/$(APP)
ifeq ($(TEST),small)
INPUT = $(DATASET_DIR)/small/input/32_32_32_dataset.bin
REF_OUTPUT = $(DATASET_DIR)/small/output/32_32_32_dataset.out
RUNDIR = run/$(VERSION)/small
OUTPUT = $(RUNDIR)/32_32_32_dataset.out
else
INPUT = $(DATASET_DIR)/large/input/64_64_64_dataset.bin
REF_OUTPUT = $(DATASET_DIR)/large/output/64_64_64_dataset.out
RUNDIR = run/$(VERSION)/large
OUTPUT = $(RUNDIR)/64_64_64_dataset.out
endif
ARGS = -i $(INPUT) -o $(OUTPUT)
TOOL = tools/compare-output
include $(PARBOIL_ROOT)/common/mk/Makefile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment