From 21702dc1d940ceb0f6c5f1f6717d6659440814d6 Mon Sep 17 00:00:00 2001 From: Spencer Bryngelson Date: Wed, 22 Mar 2023 14:29:41 -0400 Subject: [PATCH] Update CMakeLists.txt for `--debug` fix on nvidia GPUs --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 00efd70383..9f404c755f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -251,7 +251,7 @@ function(MFC_SETUP_TARGET) ) elseif (CMAKE_BUILD_TYPE STREQUAL "Debug") target_compile_options(${ARGS_TARGET} - PRIVATE -gpu=keep,ptxinfo,lineinfo,autocompare,debug + PRIVATE -gpu=keep,ptxinfo,lineinfo,autocompare,debug -O0 ) endif() endif()