pytorch/cmake
Isuru Fernando 8f0998aafe Check F2C BLAS for OpenBLAS and other vendors (#143846)
This issue came from https://github.com/conda-forge/pytorch-cpu-feedstock/issues/180. MKL follows the F2C convention for returning single precision floats as doubles and uses the G77 convention for returning complex valued scalars. OpenBLAS does the opposite. There is a check for this already, but it's done only when the Generic BLAS vendor code path is used and this PR moves that code to `Dependencies.cmake` to make it work when the BLAS vendor is OpenBLAS and others

Pull Request resolved: https://github.com/pytorch/pytorch/pull/143846
Approved by: https://github.com/rgommers, https://github.com/atalman
2025-07-01 05:56:24 +00:00
..
External [ROCm] Bump AOTriton to 0.10b (#156499) 2025-06-25 07:09:03 +00:00
Modules Check F2C BLAS for OpenBLAS and other vendors (#143846) 2025-07-01 05:56:24 +00:00
Modules_CUDA_fix Revert "Use official CUDAToolkit module in CMake (#154595)" 2025-06-23 21:15:31 +00:00
public Display a warning when overwriting CMAKE_CUDA_ARCHITECTURES (#156123) 2025-06-28 11:22:09 +00:00
Allowlist.cmake
BLAS_ABI.cmake Check F2C BLAS for OpenBLAS and other vendors (#143846) 2025-07-01 05:56:24 +00:00
BuildVariables.cmake
Caffe2Config.cmake.in xpu: improve error handling and reporting in XPU cmake files (#149353) 2025-03-20 02:00:39 +00:00
cmake_uninstall.cmake.in
Codegen.cmake [CUTLASS] [CUDA] SM100 GroupMM (#156203) 2025-06-28 23:02:00 +00:00
DebugHelper.cmake [BE] fix typos in cmake/ (#156079) 2025-06-17 19:25:43 +00:00
Dependencies.cmake Check F2C BLAS for OpenBLAS and other vendors (#143846) 2025-07-01 05:56:24 +00:00
FlatBuffers.cmake
IncludeSource.cpp.in
iOS.cmake [BE] fix typos in cmake/ (#156079) 2025-06-17 19:25:43 +00:00
Metal.cmake [Build] Allow metal shaders to include ATen headers (#156256) 2025-06-18 01:03:25 +00:00
MiscCheck.cmake Remove CAFFE2_USE_EXCEPTION_PTR (#147247) 2025-03-06 02:56:23 +00:00
prioritized_text.txt [Build] Add linker script optimization (#121975) 2024-04-09 20:22:25 +00:00
ProtoBuf.cmake [Reland] Use 3.27 as the minimum CMake version (#154783) 2025-06-14 16:37:51 +00:00
ProtoBufPatch.cmake
Summary.cmake Revert "Use official CUDAToolkit module in CMake (#154595)" 2025-06-23 21:15:31 +00:00
TorchConfig.cmake.in Revert "Simplify nvtx3 CMake handling, always use nvtx3 (#153784)" 2025-06-24 20:02:07 +00:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake [BE][CMake] Use FindPython module (#124613) 2024-05-29 13:17:35 +00:00
VulkanDependencies.cmake