Skip to content

Commit

Permalink
Change cuda sample var name
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanradanov committed Aug 25, 2023
1 parent cf5a973 commit 48d04b9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions common/common.polygeist.host.make.config
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ POLYGEIST_VER := $(shell (cd $(POLYGEIST_DIR) && git show --pretty=format:"%h" -
POLYGEIST_MEMREF_ABI_0 = #--memref-abi=0
POLYGEIST_LLVM_STRUCT_ABI_0 = --struct-abi=0

ifeq ($(API),CUDA)
CUDA_SAMPLES_PATH = $(CUDA_SAMPLES_PATH_)
else
CUDA_SAMPLES_PATH = $(HIPIFIED_CUDA_SAMPLES_PATH_)
endif


ifeq ($(CONFIG),0)
POLYGEIST_MEMREF_ABI_0 =
Expand Down
3 changes: 2 additions & 1 deletion common/supercomp01a.polygeist.host.make.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ POLYGEIST_DIR_DEBUG=/scr/ivan/src/Polygeist/build.debug/
POLYGEIST_LLVM_DIR_DEBUG=/scr/ivan/src/Polygeist/mlir-build.debug/

CUDA_PATH = /usr/local/cuda-11.4/
CUDA_SAMPLES_PATH = /scr/ivan/cuda-10.2/samples/
CUDA_SAMPLES_PATH_ = /scr/ivan/cuda-10.2/samples/
CPUCUDA_BUILD_DIR = /scr/ivan/src/cpucuda_runtime/build/
CUDA_GPU_ARCH = sm_86

ROCM_PATH = /opt/rocm/
AMD_GPU_ARCH = gfx1030
HIPIFIED_CUDA_SAMPLES_PATH_ = /scr/ivan/cuda-10.2-hip/samples/

include $(current_dir)/common.polygeist.host.make.config

0 comments on commit 48d04b9

Please sign in to comment.