cuModuleGetFunction_interface Interface

interface
private function cuModuleGetFunction_interface(hfunc, hmod, name) result(cuResult)

Arguments

Type IntentOptional Attributes Name
type(CUfunction) :: hfunc

Returns a function handle.

type(CUmodule), value :: hmod

Module to retrieve function from

character(len=c_char) :: name(*)

Name of function to retrieve

Return Value integer(kind=c_int)

Driver result code

Description

Returns a function handle.

Returns in hfunc the handle of the function of name name located in module hmod. If no function of that name exists, cuModuleGetFunction returns CUDA_ERROR_NOT_FOUND.