Skip to content
Snippets Groups Projects
Commit 10701a2f authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Activating openmp installation test

parent 6c4c571b
No related branches found
No related tags found
No related merge requests found
Pipeline #3910 passed
......@@ -257,7 +257,7 @@ endif()
file(WRITE error_code "0")
file(WRITE cuda_lib "${CUDA_cudart_static_LIBRARY} ${CUDA_cudadevrt_LIBRARY}")
if(CUDA_ON_BACKEND STREQUAL "SEQUENTIAL" OR CUDA_ON_BACKEND STREQUAL "OpenMP")
file(WRITE cuda_include "-I${CUDA_INCLUDE_DIRS} -D__NVCC__ -DCUDART_VERSION=11000")
file(WRITE cuda_include "-D__NVCC__ -DCUDART_VERSION=11000")
file(WRITE cuda_on_cpu "YES")
else()
file(WRITE cuda_include "-I${CUDA_INCLUDE_DIRS}")
......
......@@ -71,7 +71,7 @@ else
fi
if [ x"$with_gpu" == x"1" ]; then
gpu_support=-g
foward_options="$foward_options --with-cuda-on-backend=CUDA"
else
gpu_support=
fi
......@@ -115,6 +115,8 @@ elif [ x"$comp_type" == x"garbageinjv" ]; then
foward_options="$foward_options --enable-garbageinjv"
elif [ x"$comp_type" == x"asan" ]; then
foward_options="$foward_options --enable-asan"
elif [ x"$comp_type" == x"openmp" ]; then
foward_options="$foward_options --with-cuda-on-backend=OpenMP"
fi
echo "Installing with: ./install $gpu_support -i $dependency_dir $install_options -c \"$installation_dir $foward_options \" "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment