Рет қаралды 24
This video is part of the playlist • hipFort Workshop . Click the link to view the entire playlist.
Accompanying notebook: github.com/pel...
When explicitly managing host and device pointers in HIPFort, you will need to copy data between host and device memory. This is done using the hipMemcpy function. The hipMemcpy function has a number of interfaces that are defined so that you can easily work with type(c_ptr) or Fortran pointer types for host and device data.