nvrtcCreateProgram_interface Interface

interface
private function nvrtcCreateProgram_interface(prog, src, name, numHeaders, headers, includeNames) result(nvrtcResult)

Arguments

Type IntentOptional Attributes Name
type(nvrtcProgram) :: prog

CUDA Runtime Compilation program.

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

CUDA program source.

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

CUDA program name.

integer(kind=c_int), value :: numHeaders

Number of headers used. Must be greater than or equal to 0.

type(c_ptr), value :: headers

Sources of the headers

type(c_ptr), value :: includeNames

Name of each header by which they can be included in the CUDA program source

Return Value integer(kind=c_int)

The enumerated type nvrtcResult defines API call result codes.

Description

Creates an instance of nvrtcProgram with the given input parameters, and sets the output parameter prog with it.