Add help message to Kokkos TARGET variable

This commit is contained in:
Tom Deakin 2017-02-24 13:07:35 +00:00
parent 91131baf3d
commit bbdd5b9fcb

View File

@ -4,7 +4,13 @@ default: kokkos-stream
include $(KOKKOS_PATH)/Makefile.kokkos include $(KOKKOS_PATH)/Makefile.kokkos
ifndef TARGET ifndef TARGET
$(info No target defined. Specify CPU or GPU. Defaulting to CPU) define target_help
Set TARGET to change to offload device. Defaulting to CPU.
Available targets are:
CPU (default)
GPU
endef
$(info $(target_help))
TARGET=CPU TARGET=CPU
endif endif