From 87c10de1f5344cf1816989dc26ea2799169ad125 Mon Sep 17 00:00:00 2001 From: Pranav Sivaraman <14294205+pranav-sivaraman@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:06:43 -0400 Subject: [PATCH] refactor: adjust KOKKOS_PATH in Makefile --- kokkos/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kokkos/Makefile b/kokkos/Makefile index f839664b..24d31a31 100644 --- a/kokkos/Makefile +++ b/kokkos/Makefile @@ -2,8 +2,8 @@ # User Options #=============================================================================== -KOKKOS_PATH ?= /global/homes/j/jhdavis/XSBench/kokkos/kokkos -CUDA_PATH ?= ${CUDA_HOME} +MAKEFILE_PATH := $(subst Makefile,,$(abspath $(lastword $(MAKEFILE_LIST)))) +KOKKOS_PATH ?= $(MAKEFILE_PATH)kokkos COMPILER ?= gnu OPTIMIZE ?= yes DEBUG ?= no