Data type support#
rocThrust supports user-defined custom types as long as an interface for them is provided.
rocThrust and Thrust both support the following fundamental types:
int8int16int32int64floatdouble
Both rocThrust and Thrust also support half and bfloat16. However, the host-side HIP implementations of these types are missing some functionality. Because of this, half and bfloat16 should be used only as storage types to be passed between functions.