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.
func
attr