Data type support#

Fundamental types#

Table 1 Comparison of supported fundamental types of rocThrust and Thrust#

Type

rocThrust support

Thrust support

int8

int16

int32

int64

half [1]

⚠️

⚠️

bfloat16 [1]

⚠️

⚠️

float

double

Custom types#

rocThrust and Thrust support custom, user-defined types, if they provide the interface required by the used functions.

Footnotes