We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9eab52 commit 4bce5f9Copy full SHA for 4bce5f9
mlx/backend/cuda/CMakeLists.txt
@@ -170,6 +170,10 @@ target_link_libraries(mlx PRIVATE CUDNN::cudnn_all)
170
# Suppress nvcc warnings on MLX headers.
171
target_compile_options(mlx PRIVATE $<$<COMPILE_LANGUAGE:CUDA>:-Xcudafe
172
--diag_suppress=997>)
173
+# Supress warnings: note: parameter passing for argument of type
174
+# ‘std::pair<float, float>’ when C++17 is enabled changed to match C++14 in GCC
175
+# 10.1
176
+target_compile_options(mlx PRIVATE -Wno-psabi)
177
178
# Install CCCL headers for JIT.
179
install(DIRECTORY ${cccl_SOURCE_DIR}/include/cuda
0 commit comments