Commit Graph

13 Commits

Author SHA1 Message Date
Gaetan Lepage
3fecd68e9d cudaPackages_13_3.cccl: init at 13.3.3.3.1 2026-06-21 16:56:43 +00:00
Gaetan Lepage
0db3511132 cudaPackages.cuda_crt: patch math_functions.h signatures 2026-04-23 23:05:33 +00:00
Samuel Ainsworth
8e55aea6ee cuda_nvcc: fix host_defines.h __noinline__ conflict under clang
host_defines.h redefines __noinline__ as __attribute__((noinline)).
When clang compiles CUDA code against libstdc++ >=12, which uses
__attribute__((__noinline__)), the macro causes the invalid expansion
__attribute__((__attribute__((noinline)))). Clang natively understands
__noinline__ as an attribute, so the macro is unnecessary — skip it
when clang is the compiler.
2026-04-12 22:06:57 +00:00
Samuel Ainsworth
62cf59f29d cuda_nvcc: also patch math_functions.hpp for glibc 2.42
The existing glibc 2.42 compatibility patch fixes function signatures
in math_functions.h but misses math_functions.hpp, which has the same
rsqrt/sinpi/cospi functions wrapped in __func__() macros. Without
throw() annotations on these, C++ compilation fails when glibc 2.42
declares the same functions with throw().
2026-03-10 20:24:50 -04:00
Gaetan Lepage
71c7f2d505 cudaPackages.cuda_nvcc: do not patch crt/math_functions.h on cuda 13 2026-02-09 17:19:33 +00:00
Gaetan Lepage
dedd0d1c8f cudaPackages.cuda_nvcc: optionals -> optionalString 2026-02-08 22:55:04 +00:00
Gaetan Lepage
eb6a294bd8 cudaPackages.cuda_nvcc: patch math_functions.h signatures
Fix compatibility with glibc 2.42
2026-02-07 22:57:23 +00:00
Dyego Aurélio
28096cc5e3 treewide: apply nixfmt 1.2.0 2026-01-22 18:37:56 -03:00
Connor Baker
2fe0be4dab cudaPackages.cuda_nvcc: wrap binary so NVCC can always find compiler
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-11-26 20:42:49 +00:00
Else, Someone
7aebac99c0 cudaPackages: fix regression, propagating too much
Code moved around in CUDA13 PR also changed actual behaviour
2025-11-01 05:50:40 +02:00
Connor Baker
ef442c3958 cudaPackages.cuda_nvcc: provide a single output
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:51 -07:00
Connor Baker
af82ffccb2 cudaPackages.cuda_nvcc: correct nvcc.profile patching for 13.0+
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:51 -07:00
Connor Baker
29ce053617 cudaPackages: build redists from manifests
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
2025-10-22 13:14:45 -07:00