Commit 365db8e0 by Sandra Loosemore Committed by Sandra Loosemore

re PR target/1078 (Problems with attributes documentation)

2016-01-07  Sandra Loosemore <sandra@codesourcery.com>

	PR 1078
	gcc/
	* doc/extend.texi (Nvidia PDX Function Attributes): New section.

From-SVN: r232136
parent c8e62a9d
2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
PR 1078
* doc/extend.texi (Nvidia PDX Function Attributes): New section.
2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
PR target/69171
......
......@@ -2271,6 +2271,7 @@ GCC plugins may provide their own attributes.
* MSP430 Function Attributes::
* NDS32 Function Attributes::
* Nios II Function Attributes::
* Nvidia PTX Function Attributes::
* PowerPC Function Attributes::
* RL78 Function Attributes::
* RX Function Attributes::
......@@ -4633,6 +4634,22 @@ named @var{name}.
@end table
@end table
@node Nvidia PTX Function Attributes
@subsection Nvidia PTX Function Attributes
These function attributes are supported by the Nvidia PTX back end:
@table @code
@item kernel
@cindex @code{kernel} attribute, Nvidia PTX
This attribute indicates that the corresponding function should be compiled
as a kernel function, which can be invoked from the host via the CUDA RT
library.
By default functions are only callable only from other PTX functions.
Kernel functions must have @code{void} return type.
@end table
@node PowerPC Function Attributes
@subsection PowerPC Function Attributes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment