From bbdd5b9fcba3caf81a1b64387c85034761925abb Mon Sep 17 00:00:00 2001 From: Tom Deakin Date: Fri, 24 Feb 2017 13:07:35 +0000 Subject: [PATCH] Add help message to Kokkos TARGET variable --- Kokkos.make | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Kokkos.make b/Kokkos.make index f0b4528..4bba1c8 100644 --- a/Kokkos.make +++ b/Kokkos.make @@ -4,7 +4,13 @@ default: kokkos-stream include $(KOKKOS_PATH)/Makefile.kokkos 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 endif