message: Make sure all optimization flags get passed back to host compiler.
diff: @@ -15,17 +15,19 @@ set(RAJA_COMPILER "RAJA_COMPILER_GNU" CACHE STRING "")
  set(CMAKE_C_COMPILER "/usr/apps/gnu/4.9.3/bin/gcc" CACHE PATH "")
  set(CMAKE_CXX_COMPILER "/usr/apps/gnu/4.9.3/bin/g++" CACHE PATH "")
  -set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -mavx -finline-functions -finline-limit=20000" CACHE STRING "")
  -set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -Ofast -mavx -finline-functions -finline-limit=20000" CACHE STRING "")
  +set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Ofast -mavx -finline-functions" CACHE STRING "")
  +set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} -Ofast -mavx -finline-functions" CACHE STRING "")
  set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O0" CACHE STRING "")
  set(CUDA_COMMON_FLAGS -restrict; -arch sm_37; -std c++11; --expt-extended-lambda)
  +set(HOST_OPT_FLAGS -Xcompiler -Ofast -Xcompiler -mavx -Xcompiler -finline-functions -Xcompiler -fopenmp)
  +
  if(CMAKE_BUILD_TYPE MATCHES Release)
  - set(BLT_CUDA_FLAGS -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; -Xcompiler -fopenmp CACHE LIST "")
  + set(BLT_CUDA_FLAGS -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; ${HOST_OPT_FLAGS} CACHE LIST "")
  set(RAJA_NVCC_FLAGS -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} CACHE LIST "")
  elseif(CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
  - set(BLT_CUDA_FLAGS -g; -G; -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; -Xcompiler -fopenmp CACHE LIST "")
  + set(BLT_CUDA_FLAGS -g; -G; -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; ${HOST_OPT_FLAGS} CACHE LIST "")
  set(RAJA_NVCC_FLAGS -g; -G; -O3; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; CACHE LIST "")
  elseif(CMAKE_BUILD_TYPE MATCHES Debug)
  set(BLT_CUDA_FLAGS -g; -G; -O0; ${CUDA_COMMON_FLAGS}; -ccbin; ${CMAKE_CXX_COMPILER} ; -Xcompiler -fopenmp CACHE LIST "")
  