Debian Patches

Status for rocthrust/7.2.4-1~exp1

Patch Description Author Forwarded Bugs Origin Last update
0001-install-cmake-config-to-share.patch install cmake config to share
The ROCM_INSTALL_LIBDIR is only used for determining the install
location of the exported cmake config files. This change places those
files in /usr/share, which is more consistent with other header-only
libraries, such as librocprim-dev and libthrust-dev.
Cordell Bloor <cgmb@slerp.xyz> not-needed 2023-04-05
fix-memory-leak.patch [rocThrust] Fix memory leak in memory.cu (#2469)
## Motivation
Valgrind shows a memory leak when running memory.cu
## Technical Details
Memory leak comes from the fact that memory allocated with
get_temporary_buffer (calls hipMalloc) in sub-tests of
./test_thrust_memory, doesn't get appropriate hipFree call. The issue is
that there is no matching 3-argument return_temporary_buffer function,
so it falls back to generic implementation that doesn't call hipFree.
Adding this to the memory.cu removes the leak.
Di Nguyen <dinguyennhu@gmail.com> yes upstream upstream, https://github.com/ROCm/rocm-libraries/commit/3f037def205c28fa7771ed929bc8abff4410c679 2026-03-17

All known versions for source package 'rocthrust'

Links