File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,14 +133,6 @@ sedinplace 's/-fvisibility=hidden//g' cmake/CMakeLists.txt cmake/adjust_global_c
133133sedinplace ' s:/Yucuda_pch.h /FIcuda_pch.h::g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
134134sedinplace ' s/${PROJECT_SOURCE_DIR}\/external\/cub//g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers.cmake
135135sedinplace ' s/-Xcompiler \/Zc:__cplusplus/-Xcompiler \/Zc:__cplusplus -Xcompiler \/Zc:preprocessor/g' cmake/onnxruntime_providers_cuda.cmake cmake/onnxruntime_providers_cuda_plugin.cmake
136- # CUDA 13 on Windows needs the ORT CUB wrapper to undefine MSVC SAL macros: https://github.com/microsoft/onnxruntime/pull/28309
137- sedinplace ' s|#include <cub/cub.cuh>|#include "core/providers/cuda/cu_inc/cub.cuh"|g' onnxruntime/contrib_ops/cuda/bert/gqa_unfused_attention.cu
138- grep -Fq ' #include "core/providers/cuda/cu_inc/cub.cuh"' onnxruntime/contrib_ops/cuda/bert/gqa_unfused_attention.cu || {
139- echo " Failed to apply ORT CUB wrapper include workaround to gqa_unfused_attention.cu"
140- exit 1
141- }
142- # CUDA 13.2 can still reach tcgen05_ld.h through the following CUDA fp headers,
143- # after the ORT CUB wrapper has restored MSVC's __out SAL macro.
144136sedinplace ' /#include "core\/providers\/cuda\/cu_inc\/cub.cuh"/i\
145137#if defined(_MSC_VER)\
146138#pragma push_macro("__out")\
You can’t perform that action at this time.
0 commit comments