[ET Trac] #2836: add support for different data types to GPU arrays

Roland Haas trac-noreply at einsteintoolkit.org
Fri Dec 6 08:35:52 CST 2024


#2836: add support for different data types to GPU arrays

 Reporter: Roland Haas
   Status: new
Milestone: 
  Version: 
     Type: enhancement
 Priority: major
Component: EinsteinToolkit thorn

This adds proper support for data types other than `double` to CarpetX, also for GPUs.

It introduces a helper class `AnyVector`that can hold any data type \(similar to `gdata` in CarpetLib\), as well as a number of switch statements to handle openPMD's typed output routines. 

I am told that very new versions of openPMD-api lets one call the internal un-typed output routine, but at the time this code was written, that was not yet possible, and thus may not be possible on all cluster installed copies of openPMD.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2836/add-support-for-different-data-types-to
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.einsteintoolkit.org/pipermail/trac/attachments/20241206/022a3778/attachment.htm>


More information about the Trac mailing list