Skip to content

Commit

Permalink
Fix CUDA nvcc warning fmt/include/fmt/core.h(295): warning #1675-D: u…
Browse files Browse the repository at this point in the history
…nrecognized GCC pragma (#3352)
  • Loading branch information
tmartin-gh committed Mar 17, 2023
1 parent 7f88291 commit e1720c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@

// Enable minimal optimizations for more compact code in debug mode.
FMT_GCC_PRAGMA("GCC push_options")
#if !defined(__OPTIMIZE__) && !defined(__NVCOMPILER) && !defined(__LCC__)
#if !defined(__OPTIMIZE__) && !defined(__NVCOMPILER) && !defined(__LCC__) && !defined(__CUDACC__)
FMT_GCC_PRAGMA("GCC optimize(\"Og\")")
#endif

Expand Down

0 comments on commit e1720c0

Please sign in to comment.