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:
cudaLaunch (C API), cudaLaunch (C++ API)


Generated by Doxygen on Mon Mar 30 23:16:11 2009 for NVIDIA CUDA Library  NVIDIA