|
|
|
Explanation:
|
Syntax to define a GPU function:
__global__ void-typed C-function definition
__device__ void-typed C-function definition
|
Explantion:
|
__global__ void GPU_function1( ... input-parameters ... )
{
... C-statements (will be executed by the GPU)
...
}
|
|
|