Commit 8b6dbe19 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Ok, but too old version of my quadro M2200 (compute capabilities 5.2 instead...

Ok, but too old version of my quadro M2200 (compute capabilities 5.2 instead of 6.0 required to use nvc++ with -stdpar option
parent 2acd0c78
......@@ -13,15 +13,21 @@ phoenix_compileAndRunExample(perf_hadamard_gpupar_O4 "-O4" "${CONFIG_GPU_HADAMAR
phoenix_compileAndRunExample(perf_hadamard_gpupar_vectorize_O3 "-O3 -mavx2" "${CONFIG_GPU_HADAMARD}" ${progSrc})
phoenix_compileAndRunExample(perf_hadamard_gpupar_vectorize_O4 "-O4 -mavx2" "${CONFIG_GPU_HADAMARD}" ${progSrc})
# Minimum capabilities to use stdpar cc60
set(GPU_EXTRA_FLAGS " -stdpar -gpu=cc60")
# set(GPU_EXTRA_FLAGS " -stdpar -gpu=cc50") #capabilities for the quandro M2200
# set(CMAKE_LINK_LIBRARY_FLAG "${CMAKE_LINK_LIBRARY_FLAG} ")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Mcuda")
phoenix_compileAndRunExample(perf_hadamard_gpu_stdpar_par_vectorize_O3 "-O3 ${GPU_EXTRA_FLAGS} -mavx2" "${CONFIG_GPU_HADAMARD}" ${progSrc})
phoenix_compileAndRunExample(perf_hadamard_gpu_stdpar_par_vectorize_O4 "-O4 ${GPU_EXTRA_FLAGS} -mavx2" "${CONFIG_GPU_HADAMARD}" ${progSrc})
# phoenix_compileAndRunExample(perf_hadamard_gpu_stdpar_par_vectorize_O4 "-O4 ${GPU_EXTRA_FLAGS} -mavx2" "${CONFIG_GPU_HADAMARD}" ${progSrc})
phoenix_plotPerfLogX("hadamard_gpuparBase" perf_hadamard_gpupar_O0 perf_hadamard_gpupar_O1 perf_hadamard_gpupar_O2 perf_hadamard_gpupar_O3 perf_hadamard_gpupar_O4)
phoenix_plotPerfLogX("hadamard_gpuparParallelGPU" perf_hadamard_gpupar_O3 perf_hadamard_gpupar_vectorize_O3 perf_hadamard_gpupar_vectorize_O4
perf_hadamard_gpu_stdpar_par_vectorize_O3 perf_hadamard_gpu_stdpar_par_vectorize_O4
# perf_hadamard_gpu_stdpar_par_vectorize_O3 # Compile and works but not for quadro M2200 (too old)
# perf_hadamard_gpu_stdpar_par_vectorize_O4
)
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