Skip to content

realm: let cuda module to update the bandwidth of XFER_MEM_CPY channel

Wei Wu requested to merge channel_bw into master

Changes:

  1. provide a new API Module::update_dma_channel to allow modules update any channel after the creation of dma channels. In this PR, we use it to update the bandwidth of MEMCPY channel.
  2. update the suggests_path to return the index of the path in the std::vector<> paths once a supported path is found.
  3. add a new API Channel::update_path to update the metadata of the path.
  4. update the bandwidth of MEMCPY channel into a reasonable number, which is 8GB/s.

TODO:

  1. update the hip module
  2. add a unit test
Edited by Wei Wu

Merge request reports