cuModuleLoadDataEx_interface Interface

interface
private function cuModuleLoadDataEx_interface(mod, image, numOptions, options, optionValues) result(cuResult)

Arguments

Type IntentOptional Attributes Name
type(CUmodule) :: mod

Returned module

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

Module data to load

integer(kind=c_int), value :: numOptions

Number of options

type(c_ptr), value :: options

Options for JIT

type(c_ptr) :: optionValues

Option values for JIT

Return Value integer(kind=c_int)

Driver result code

Description

Load a module’s data with options.

Takes a pointer image and loads the corresponding module module into the current context. The image may be a cubin or fatbin as output by nvcc, or a NULL-terminated PTX, either as output by nvcc or hand-written.