Documentation ¶
Index ¶
- Constants
- func Version() (major, minor int, err error)
- type Include
- type Program
- func (program *Program) AddNameExpression(nameExpression string) error
- func (program *Program) Compile(options ...string) error
- func (program *Program) Destroy() error
- func (program *Program) GetLog() (string, error)
- func (program *Program) GetLoweredName(nameExpression string) (string, error)
- func (program *Program) GetPTX() (string, error)
Constants ¶
View Source
const ( Success nvrtcResult = C.NVRTC_SUCCESS OutOfMemory nvrtcResult = C.NVRTC_ERROR_OUT_OF_MEMORY ProgramCreationFailure nvrtcResult = C.NVRTC_ERROR_PROGRAM_CREATION_FAILURE InvalidInput nvrtcResult = C.NVRTC_ERROR_INVALID_INPUT InvalidProgram nvrtcResult = C.NVRTC_ERROR_INVALID_PROGRAM InvalidOption nvrtcResult = C.NVRTC_ERROR_INVALID_OPTION Compilation nvrtcResult = C.NVRTC_ERROR_COMPILATION BuiltinOperationFailure nvrtcResult = C.NVRTC_ERROR_BUILTIN_OPERATION_FAILURE NoNameExpressionsAfterCompilation nvrtcResult = C.NVRTC_ERROR_NO_NAME_EXPRESSIONS_AFTER_COMPILATION NoLoweredNamesBeforeCompilation nvrtcResult = C.NVRTC_ERROR_NO_LOWERED_NAMES_BEFORE_COMPILATION NameExpressionNotValid nvrtcResult = C.NVRTC_ERROR_NAME_EXPRESSION_NOT_VALID InternalError nvrtcResult = C.NVRTC_ERROR_INTERNAL_ERROR )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Program ¶
type Program struct {
// contains filtered or unexported fields
}
func (*Program) AddNameExpression ¶
func (*Program) GetLoweredName ¶
Click to show internal directories.
Click to hide internal directories.