gcc: Nvidia PTX Function Attributes

1 
1 6.31.22 Nvidia PTX Function Attributes
1 --------------------------------------
1 
1 These function attributes are supported by the Nvidia PTX back end:
1 
1 'kernel'
1      This attribute indicates that the corresponding function should be
1      compiled as a kernel function, which can be invoked from the host
1      via the CUDA RT library.  By default functions are only callable
1      only from other PTX functions.
1 
1      Kernel functions must have 'void' return type.
1