
NvJitLink supports the link options below. nvJitLinkResult nvJitLinkGetLinkedPtxSize ( nvJitLinkHandle handle, size_t* size ) nvJitLinkGetLinkedPtxSize gets the size of the linked ptx. nvJitLinkResult nvJitLinkGetLinkedPtx ( nvJitLinkHandle handle, char* ptx ) nvJitLinkGetLinkedPtx gets the linked ptx. nvJitLinkResult nvJitLinkGetLinkedCubinSize ( nvJitLinkHandle handle, size_t* size ) nvJitLinkGetLinkedCubinSize gets the size of the linked cubin. nvJitLinkResult nvJitLinkGetLinkedCubin ( nvJitLinkHandle handle, void* cubin ) nvJitLinkGetLinkedCubin gets the linked cubin.

nvJitLinkResult nvJitLinkGetInfoLogSize ( nvJitLinkHandle handle, size_t* size ) nvJitLinkGetInfoLogSize gets the size of the info log. nvJitLinkResult nvJitLinkGetInfoLog ( nvJitLinkHandle handle, char* log ) nvJitLinkGetInfoLog puts any info messages in the log. nvJitLinkResult nvJitLinkGetErrorLogSize ( nvJitLinkHandle handle, size_t* size ) nvJitLinkGetErrorLogSize gets the size of the error log. nvJitLinkResult nvJitLinkGetErrorLog ( nvJitLinkHandle handle, char* log ) nvJitLinkGetErrorLog puts any error messages in the log. nvJitLinkResult nvJitLinkDestroy ( nvJitLinkHandle* handle ) nvJitLinkDestroy frees the memory associated with the given handle and sets it to NULL. nvJitLinkResult nvJitLinkCreate ( nvJitLinkHandle* handle, uint32_t numOptions, const char** options ) nvJitLinkCreate creates an instance of nvJitLinkHandle with the given input options, and sets the output parameter handle. nvJitLinkResult nvJitLinkComplete ( nvJitLinkHandle handle ) nvJitLinkComplete does the actual link. nvJitLinkResult nvJitLinkAddFile ( nvJitLinkHandle handle, nvJitLinkInputType inputType, const char* fileName ) nvJitLinkAddFile reads data from file and links it in. Functions nvJitLinkResult nvJitLinkAddData ( nvJitLinkHandle handle, nvJitLinkInputType inputType, const void* data, size_t size, const char* name ) nvJitLinkAddData adds data image to the link. Enumerations enum nvJitLinkInputType The enumerated type nvJitLinkInputType defines the kind of inputs that can be passed to nvJitLinkAdd* APIs.


Typedefs typedef nvJitLink * nvJitLinkHandle nvJitLinkHandle is the unit of linking, and an opaque handle for a program.
