CUDA

data class CUDA(deviceId: Int) : ExecutionProvider

CUDA execution provider. Available only on platforms with Nvidia gpu and CUDA runtime installed.

See also

OrtProvider.CUDA

Parameters

deviceId

The device ID to use.

Constructors

CUDA
Link copied to clipboard
common
fun CUDA(deviceId: Int = 0)

Functions

addOptionsTo
Link copied to clipboard
common
open override fun addOptionsTo(sessionOptions: <ERROR CLASS>)

Adds execution provider options to the OrtSession.SessionOptions.

Properties

deviceId
Link copied to clipboard
common
val deviceId: Int = 0
internalProviderId
Link copied to clipboard
common
val internalProviderId: <ERROR CLASS>