Commit 98083983 authored by incardon's avatar incardon

Fixing example compilation with GPU

parent 051ee224
...@@ -5,7 +5,7 @@ ifeq (, $(shell which nvcc)) ...@@ -5,7 +5,7 @@ ifeq (, $(shell which nvcc))
CUDA_CC=mpic++ -x c++ $(INCLUDE_PATH) CUDA_CC=mpic++ -x c++ $(INCLUDE_PATH)
INCLUDE_PATH_NVCC= INCLUDE_PATH_NVCC=
else else
CUDA_CC=nvcc CUDA_CC=nvcc -ccbin=mpic++
endif endif
......
...@@ -5,7 +5,7 @@ ifeq (, $(shell which nvcc)) ...@@ -5,7 +5,7 @@ ifeq (, $(shell which nvcc))
CUDA_CC=mpic++ -x c++ $(INCLUDE_PATH) CUDA_CC=mpic++ -x c++ $(INCLUDE_PATH)
INCLUDE_PATH_NVCC= INCLUDE_PATH_NVCC=
else else
CUDA_CC=nvcc CUDA_CC=nvcc -ccbin=mpic++
endif endif
ifeq ($(PROFILE),ON) ifeq ($(PROFILE),ON)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment