cudaError_t cudaFuncGetAttributes ( struct cudaFuncAttributes attr,
const char *  func 
)

This function obtains the attributes of a function specified via func. The fetched attributes are placed in attr. If the specified function does not exist, then cudaErrorInvalidDeviceFunction is returned.

Parameters:
attr - Return pointer to function's attributes
func - Function to get attributes of
Returns:
cudaSuccess, cudaErrorInitializationError, cudaErrorInvalidDeviceFunction
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaConfigureCall, cudaFuncGetAttributes (C++ API), cudaLaunch (C API), cudaSetDoubleForDevice, cudaSetDoubleForHost, cudaSetupArgument (C API)


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA