Table of Contents

Interface IBackendFactory

Namespace
DotCompute.Plugins.Interfaces
Assembly
DotCompute.Plugins.dll

Factory interface for creating accelerator backend instances.

public interface IBackendFactory

Properties

Description

Gets the description of this backend.

string Description { get; }

Property Value

string

Name

Gets the name of this backend.

string Name { get; }

Property Value

string

Version

Gets the version of this backend.

Version Version { get; }

Property Value

Version

Methods

CreateAccelerators()

Creates all available accelerators for this backend.

IEnumerable<IAccelerator> CreateAccelerators()

Returns

IEnumerable<IAccelerator>

CreateDefaultAccelerator()

Creates the default accelerator for this backend.

IAccelerator? CreateDefaultAccelerator()

Returns

IAccelerator

GetCapabilities()

Gets the capabilities of this backend.

BackendCapabilities GetCapabilities()

Returns

BackendCapabilities

IsAvailable()

Determines if this backend is available on the current system.

bool IsAvailable()

Returns

bool