Skip to content

v6.5.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 20:12
· 129 commits to main since this release

CUDA v6.5.0

Diff since v6.4.2

Merged pull requests:

  • Hand the GPUArrays-generic Enzyme rules to Enzyme.jl (#3272) (@vchuravy)
  • Implement KernelInterface, and support KernelAbstractions 0.10 (#3314) (@maleadt)
  • Recycle the streams of finished tasks (#3317) (@maleadt)
  • Don't wait for the GPU when releasing resources from finalizers (#3318) (@maleadt)
  • Keep unified memory host-attached on devices without concurrent managed access (#3325) (@maleadt)
  • Make CUDA graphs usable (#3326) (@maleadt)
  • Don't wait for work that an event already ordered (#3328) (@maleadt)
  • Hand off arrays between streams on the GPU instead of the host (#3329) (@maleadt)
  • Add Enzyme rules for CuRefValue construction and access (#3332) (@vchuravy)
  • Capture the operations of tasks spawned during graph capture (#3337) (@maleadt)
  • Fix accumulate for non-commutative operators (#3342) (@maleadt)
  • Pass the neutral element on when scanning block aggregates (#3343) (@maleadt)
  • Report kernel lookups to the compile hook instead of recompiling (#3348) (@maleadt)
  • Skip host-side BFloat16 WMMA checks where Julia 1.11 crashes (#3349) (@maleadt)
  • Implement the atomic functions with UnsafeAtomics (#3350) (@maleadt)
  • Use generic LLVM IR for device intrinsics where the back-end produces the same code (#3351) (@maleadt)
  • Explain why cuDNN is not functional on pre-Turing GPUs (#3352) (@maleadt)
  • Pad allocations and shared memory to whole 32-bit words (#3353) (@maleadt)
  • Publish benchmarks when Buildkite reports them (#3354) (@maleadt)
  • Fix some bugs and add tests for device math (#3355) (@kshyatt)
  • Use GPUArrays 12 for sorting, scans, reductions and findall (#3356) (@maleadt)
  • Reduce CI pressure on pull requests (#3357) (@maleadt)
  • Run only the relevant tests on each CI job (#3358) (@kshyatt)
  • Reduce the host code compiled for every new kernel (#3359) (@maleadt)
  • Don't poll before blocking synchronization, and only poll once otherwise (#3360) (@maleadt)
  • Restore the Enzyme test (#3361) (@kshyatt)
  • Reduce the CPU overhead of launching graphs and kernels (#3362) (@maleadt)
  • Don't compile signature-independent launch code for every kernel (#3365) (@maleadt)
  • Don't keep graph capture scopes alive through the ptxas output reader (#3366) (@maleadt)
  • Grant all devices access to the unified memory pool (#3367) (@maleadt)
  • Flush kernel output when synchronizing a stream that polling finds done (#3368) (@maleadt)
  • Keep library handles and buffers out of GPUArrays caches (#3370) (@kshyatt)
  • Support Bool in the sparse/dense conversions (#3376) (@aalquwayfili)
  • Stop requiring the Visual C++ redistributable on Windows (#3377) (@maleadt)
  • Bind cuDNN dropout state and descriptors to the library handle (#3382) (@maleadt)
  • Don't wake the log task after its condition is finalized (#3385) (@maleadt)
  • cuDNN: pad the input for asymmetric filter-gradient padding in every rank (#3386) (@maleadt)
  • cuDNN: use the fixed-function API for batch normalization and symmetric pooling (#3387) (@maleadt)
  • Cache the launch configuration and thread limit of kernels (#3388) (@maleadt)
  • Raise the legacy memory allocator CI timeout to 45 minutes [ci skip] (#3391) (@maleadt)
  • Fix intermittent NaNs from ldiv! with a transposed right-hand side on CUDA 12.0-12.2 (#3392) (@maleadt)
  • Add a debug_level keyword to @cuda, and test exceptions in-process (#3393) (@maleadt)
  • Support CUDA 13.4 Update 2 and cuDNN 9.27. (#3394) (@maleadt)
  • cuFFT: support FFTs on strided CuArray views (#3395) (@huiyuxie)
  • Poll an event capturing the context's work when synchronizing the device (#3396) (@maleadt)
  • Allow CEnum 1.0 (#3397) (@maleadt)
  • Run ptxas and nvlink outside cufunction_lock (#3398) (@maleadt)
  • Hash compiler configuration kwargs without boxing them (#3400) (@maleadt)
  • Don't touch destroyed contexts when releasing their resources (#3404) (@maleadt)
  • Expect GPUArrays 12.1.1's 2-arg show of GPU arrays in tests and docs (#3405) (@maleadt)
  • Trim down CUSOLVER tests (#3406) (@kshyatt)
  • Drop the test for atomics on local memory (#3408) (@maleadt)
  • Check operand layouts before calling cuBLAS in mul! and triangular methods (#3409) (@maleadt)
  • Fix BLAS-1 calls on reversed views (#3411) (@maleadt)
  • Slim down the CUBLAS tests too (#3412) (@kshyatt)
  • Avoid an inference cycle between the exception runtime and throw overlays (#3413) (@maleadt)
  • Honor check=true in cholesky of Hermitian GPU matrices (#3415) (@maleadt)
  • Fix sparse mul! with integer inputs and in-place CSC products (#3416) (@maleadt)
  • Materialize Symmetric/Hermitian operands in sparse products (#3417) (@maleadt)
  • Fix cuSPARSE conversions of sparse arrays with non-Cint indices (#3419) (@maleadt)
  • Show the unsupported-platform error on Linux and Windows (#3420) (@maleadt)
  • Zero Enzyme shadows of CuArray allocations bytewise (#3421) (@maleadt)
  • Bounds-check CUDA.@atomic indices and support begin/end (#3422) (@maleadt)
  • Support CUDA.@atomic on values like Complex (#3423) (@maleadt)
  • Use an Int index in the generic dot kernels (#3424) (@maleadt)
  • Wait for host-to-device copies from pinned memory to finish (#3425) (@maleadt)
  • Size the grid of the generic dot kernels by the thread count (#3426) (@maleadt)
  • Reject kernel constants that are not isbits, Symbols or types (#3427) (@maleadt)
  • Fill unspecified type parameters when adapting to CuArray (#3429) (@maleadt)
  • Raise a clear error when passing CPU arrays to kernels (#3430) (@maleadt)
  • KernelInterface: only switch the calling task in device! (#3431) (@maleadt)
  • Remove documentation previews when their pull request closes, and link them (#3432) (@maleadt)
  • cuDNN: bottom-right causal alignment and packed sequences for attention (#3438) (@CarloLucibello)
  • Precompile displaying profiler results for the common cases (#3439) (@maleadt)
  • Assert that the CUDA compiler tools return commands (#3440) (@maleadt)
  • Make grid device pools visible to cuSOLVERMg (#3441) (@maleadt)
  • cuSOLVER: Handle QR and SVD problems whose legacy workspace size overflows (#3442) (@maleadt)
  • cuSOLVER: Prefer the blocked ormqr and orgqr for tall matrices (#3443) (@maleadt)
  • Keep the PTX compilation and pool creation concretely typed (#3445) (@maleadt)
  • Stop checking the exception flags of destroyed contexts (#3447) (@maleadt)
  • Use unsafe_wrap to wrap driver objects created elsewhere (#3448) (@maleadt)
  • Wrap streams that CUDA.jl doesn't own (#3449) (@maleadt)
  • Shuffle coalesced groups with an Int32 lane in CG.shfl (#3452) (@maleadt)
  • Check the alignment of arrays passed to kernels (#3453) (@maleadt)
  • Align global device arrays to their element size (#3454) (@maleadt)
  • Load composite types through the read-only cache in unsafe_cached_load (#3455) (@maleadt)
  • Use Base.llvmcall for the Float16 fma and muladd intrinsics (#3456) (@maleadt)
  • Test KernelAbstractions launches by their behavior, not the launch kind (#3458) (@maleadt)
  • Fix several bugs with arrays of isbits unions (#3459) (@maleadt)
  • Collect hardware metrics with CUDA.@metrics (#3460) (@maleadt)
  • Make Profile.detect_cupti infer as Bool (#3463) (@maleadt)
  • cuDNN: sliding-window attention (#3464) (@maleadt)
  • Report CUDA.@profile times with nanosecond resolution (#3466) (@maleadt)
  • Make @profile and @metrics output usable by scripts and coding agents (#3467) (@maleadt)
  • Sample PCs with CUDA.@sample (#3471) (@maleadt)
  • cuDNN: zero-pad the input of mean pooling that counts asymmetric padding (#3474) (@maleadt)
  • cuDNN: accept strided views in convolutions and pooling (#3476) (@maleadt)
  • Perform every cuBLAS GEMM through the Ex API, and support 16-bit grouped GEMMs (#3477) (@maleadt)
  • Render code blocks with DocumenterCodeBlocks (#3479) (@maleadt)
  • Don't query the driver about contexts CUDA.jl destroyed (#3481) (@maleadt)
  • Cache the kernel lookup of cufunction with GPUCompiler's cached_lookup (#3482) (@maleadt)
  • Don't claim a stream to check for captures when loading code (#3483) (@maleadt)

Closed issues:

  • Int64 literals vs Int32 constants: avoid conversions & checks (#74)
  • segmented reduction (#176)
  • Getting Sparse CuArrays to work with Arpack (#154)
  • Behavior of heterogeneous broadcast/operations (#152)
  • Disable at-nospecialize for GPU codegen (#63)
  • Overview of what is supported for kernel programming (#58)
  • Report which part of the toolchain bounds support (#57)
  • Caching compiled kernels across sessions (#56)
  • README: support tiers (#50)
  • CuDNN: Support for asymmetric padding? (#128)
  • @atomic is fragile due to bypassing getindex machinery (#48)
  • Verify loads from global uniqued pointers. (#47)
  • Memory pool alignment (#120)
  • Find a better way to wrap structs with C unions (#30)
  • List of necessary material for documentation (#5)
  • Explicit vectorized loads/stores (#41)
  • mapreduce fails if init has different type (#100)
  • Does it make sense to add a cuda function mirroring @cuda functionality? (#40)
  • Views with repeating indices lead to different results than Base.Array (#89)
  • Add CUDA.peakflops() (#203)
  • Performance: bias add (#298)
  • Improve Performance: findmin/findmax (#320)
  • Tracker: Float16 support (#391)
  • Type unstable code can lead to loading from CPU boxes (#541)
  • Simplify memory allocator with UVA (#563)
  • Implement (bilinear) upsampling (#613)
  • Implement mapslices without scalar iteration (#807)
  • Broadcasting device-only functions: mismatch between contexts (#826)
  • Support for RT Core Ray Trace (may optix)? (#906)
  • Option for filtering by CUDNN_DETERMINISTIC in cudnnConvolutionAlgoPerfChoose (#938)
  • Int128 support (#974)
  • [FR] Mixed eltype dot products (#982)
  • Segfault during CUBLAS logging (#1062)
  • Should compact show mark CuArrays? (#1190)
  • Don't sync during graph record (#1229)
  • Graph memory management (#1230)
  • Slow 2D sum (#1330)
  • Memory ordering APIs for atomic operations (#1353)
  • Generated code issue with manual union splitting (#1386)
  • CUDNN: STATUS_BAD_PARAM; Reason: dimA[i] <= 0 (#1477)
  • Inference nondeterminisms can break GPU compilation (#1508)
  • CUSPARSE: CSR GEMM should dispatch to mm!/cusparseSpGEMM (#1511)
  • Support contiguous views with Base.Slice as the leading dimension (#1542)
  • 3 arguments LinearAlgebra.dot (#1565)
  • Support for setting floating-point rounding modes (#1765)
  • Enable exp2(::Float16) (#1845)
  • Odd behavior when loading cuDNN in Flux. (#1896)
  • Tegra: support for artifacts (#1978)
  • Add support for thread block clusters (#1989)
  • CUDA.@atomic does not support complex variables (#1994)
  • Add stream pool to avoid cuStreamCreate overhead (#2012)
  • Large amount of error output can lead to crashes (#2067)
  • CuSparseMatrix - CuMatrix multiplication not working: giving Scalar Indexing (#2072)
  • Using undefined globals leads to LLVM ISEL failures (#2087)
  • Support for architecture-accelerated features (#2102)
  • Provide heuristic-based fallback mode for conv algo search (#2108)
  • Support for Jetson Nano and TX2 NX (CUDA 10.2) (#2147)
  • GPUCompiler.reset_runtime() race condition (#2168)
  • Julia keeps allocations alive in presence of try/catch (#2197)
  • Broadcast of sparse vectors (#2209)
  • CUDABackend throws an error for empty array (#2321)
  • FFT on real array with plan_fft(x) is 50% slower than PyTorch (#2419)
  • Enzyme: Support for reductions with GPU broadcasting (#2455)
  • Host to device copies should be blocking (#2510)
  • Improve error message on PPC (#2511)
  • view(::CuArray, ...) is sometimes type-unstable: (#2526)
  • Multiplication with a symmetrically wrapped CuSparseMatrix returns wrong answer (#2572)
  • Atomics: configurable scope (for multi-device unified memory) (#2619)
  • Inference failure when multiple structs are broadcasted via tuples (#2623)
  • CI: Occasional segfault during benchmarking (#2661)
  • @captured with scalar arguments fails with CUDA 5.7 (#2691)
  • Extended Profiling API (#2694)
  • PackageCompiler CUDA app hangs at runtime (#2696)
  • Summing a vector is faster than summing a multidimensional array (#2764)
  • illegal memory access error was encountered with broadcasting (#2795)
  • Interactive reflection of caught errors is broken (#2798)
  • Calling cuInit in nvcuda.dll fails with EXCEPTION_ACCESS_VIOLATION (#2802)
  • Mean of a view() of a CuArray fails with scalar indexing error (#2811)
  • Weird bug with matrix multiplication on Array view (#2821)
  • Using cuDNN 1.4.5 leads to CUDNN_STATUS_EXECUTION_FAILED for BatchNorm forward pass (#2890)
  • Working with simple Rationals like 2 // 10 is slow (#2985)
  • ITensorMPS and CUDA.jl Duplication / Erroneous Memory Allocations in DMRG (#3115)
  • CI: Trigger benchmarks GitHub action from BuildKite (#3148)
  • cuFFT: support non-contiguous CuArray views (#3288)
  • Freeing memory from finalizers during graph capture (#3310)
  • CUDA.jl: crash / runtime error when creating and using unified CUDA arrays from multiple Julia threads (#3322)
  • accumulate gives wrong results for non-commutative operators (#3339)
  • scan! ignores neutral for inputs longer than one block (#3340)
  • cuDNN missing (#3341)
  • Launching a kernel with a new signature recompiles signature-independent launch code (#3364)
  • Run ptxas/nvlink outside cufunction_lock so kernels can be assembled concurrently (#3369)
  • Bool sparse matrices cannot be converted to or from dense (#3375)
  • cuDNN: convolution_filter_gradient! returns wrong values with asymmetric padding, depending on the engine the heuristic picks (#3378)
  • Segfault at exit when cuDNN.enable_logging() is called after cuDNN was already used (#3379)
  • cuDNN: where the graph-backed operations fall short of the fixed-function API (batchnorm, pooling) (#3380)
  • Cannot construct instance of CUDABackend within kernel function (#3384)
  • Hashing cufunction keyword arguments allocates on every KernelAbstractions launch (#3399)
  • Storage-level mul! passes reversed views to cuBLAS with a negative lda or incx (#3401)
  • Deferred stream release activates a destroyed context (#3403)
  • BLAS-1 methods pass reversed views to cuBLAS with a negative increment (#3410)
  • Sparse products ignore Symmetric and Hermitian wrappers (#3418)
  • cuDNN: bottom-right causal alignment for attention (#3434)
  • cuDNN: packed (ragged) variable-length attention (#3435)
  • Profile.detect_cupti() infers as Union{Nothing, Bool}, so CUDA.@profile puts a possibly-Nothing value in a boolean context (#3436)
  • sum(x; dims) runs far below memory bandwidth, especially for BFloat16 and 3-d arrays (#3446)
  • reinterpret of an offset view can produce a misaligned CuArray (#3451)
  • cuDNN: sliding-window (diagonal band) attention (#3461)
  • cuBLAS: wrap cublasGemmGroupedBatchedEx for grouped GEMMs in Float16 and BFloat16 (#3465)
  • cuDNN: accept strided views; engines 3 and 4 are ~3× slower on them, and the heuristic can rank them first (#3472)
  • cuDNN: meanpool! with count_include_pad=true divides by the wrong count when the post padding exceeds the pre padding (#3473)