Skip to content

Release of ITKCudaCommon v2.2.0

Latest

Choose a tag to compare

@SimonRit SimonRit released this 22 Nov 11:55
· 4 commits to main since this release

Dear ITK CudaCommon users,

ITK's remote module CudaCommon v2.2.0 has just been released. This release produces Python packages compatible with ITK Python packages v5.4.8. Python wheels have been uploaded to PyPI for CUDA 11.8 (Linux only), 12.8 and 13.0. The main changes are the following:

  • Unary (sin, cos, exp, etc.) and binary (add, multiply, divide, etc.) CUDA operators, and CUDA mask and threshold filters, wrapped in Python for all wrapped image dimensions
  • CudaDataManager::GetConstGPUBufferPointer() for read-only GPU access, which does not mark the CPU buffer dirty, and a const GetBufferPointer() that does not mark the GPU buffer dirty
  • Grafted images keep a valid buffer after the image they were grafted from is released: the data manager now keeps the pixel container instead of the image
  • Configurable selection of the GPU
  • Default CUDA architecture set to Turing (sm_75)
  • Installed CMake targets and CudaCommon version variables CudaCommon_VERSION_{MAJOR,MINOR,PATCH}

Compatibility notes:

  • CudaImageDataManager::GetImagePointer() has been removed, and MakeCPUBufferUpToDate() and MakeGPUBufferUpToDate() are deprecated in favor of UpdateCPUBuffer() and UpdateGPUBuffer(). CPU and GPU buffers are now synchronized with dirty flags only, not with time stamps.
  • Code compiled against CudaCommon 2.1, including Python wheels of other modules, must be rebuilt against 2.2.
  • Wheels are no longer built for CUDA 12.4.

My warmest thanks to the other contributors, Emilie Buessler and Axel Garcia.

Simon (for the RTK Consortium)