Table of Contents

Struct OpenCLTypes.PlatformId

Namespace
DotCompute.Backends.OpenCL.Types.Native
Assembly
DotCompute.Backends.OpenCL.dll

Type alias for OpenCLPlatformId.

public readonly struct OpenCLTypes.PlatformId
Inherited Members

Constructors

PlatformId(nint)

public PlatformId(nint handle)

Parameters

handle nint

Properties

Handle

public nint Handle { get; }

Property Value

nint

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Operators

implicit operator PlatformId(OpenCLPlatformId)

public static implicit operator OpenCLTypes.PlatformId(OpenCLPlatformId platformId)

Parameters

platformId OpenCLPlatformId

Returns

OpenCLTypes.PlatformId

implicit operator OpenCLPlatformId(PlatformId)

public static implicit operator OpenCLPlatformId(OpenCLTypes.PlatformId platformId)

Parameters

platformId OpenCLTypes.PlatformId

Returns

OpenCLPlatformId

implicit operator nint(PlatformId)

public static implicit operator nint(OpenCLTypes.PlatformId platformId)

Parameters

platformId OpenCLTypes.PlatformId

Returns

nint

implicit operator PlatformId(nint)

public static implicit operator OpenCLTypes.PlatformId(nint handle)

Parameters

handle nint

Returns

OpenCLTypes.PlatformId