Skip to content

Updates of data on GPU.

Compare
Choose a tag to compare
@robertsulej robertsulej released this 17 May 15:04
· 92 commits to master since this release
f69e0c5

This release introduces fast and simplified ways to copy data straight to device:

  • set texture data from pytorch tensors

  • texture filter modes enabled, default is trilinear, optionally nearest

  • set geometry data directly from numpy array or pytorch tensor (no host copy is made on the way)

  • synchronization method to update host copy with data from gpu: NpOptiX.sync_raw_data()

  • convenience method to get a copy of geometry data (more simple than PinnedBuffer, though returns a copy): NpOptiX.get_data()