Show / Hide Table of Contents

Struct CLDevice

Implements
IEquatable<CLDevice>
Inherited Members
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Compute.OpenCL
Assembly: OpenTK.Compute.dll
Syntax
public readonly struct CLDevice : IEquatable<CLDevice>

Constructors

CLDevice(IntPtr)

Declaration
public CLDevice(IntPtr handle)
Parameters
Type Name Description
IntPtr handle

Fields

Handle

Declaration
public readonly IntPtr Handle
Field Value
Type Description
IntPtr

Methods

Equals(CLDevice)

Declaration
public bool Equals(CLDevice other)
Parameters
Type Name Description
CLDevice other
Returns
Type Description
bool

Equals(object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
ValueType.Equals(object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
ValueType.GetHashCode()

Operators

operator ==(CLDevice, CLDevice)

Declaration
public static bool operator ==(CLDevice left, CLDevice right)
Parameters
Type Name Description
CLDevice left
CLDevice right
Returns
Type Description
bool

implicit operator IntPtr(CLDevice)

Declaration
public static implicit operator IntPtr(CLDevice device)
Parameters
Type Name Description
CLDevice device
Returns
Type Description
IntPtr

operator !=(CLDevice, CLDevice)

Declaration
public static bool operator !=(CLDevice left, CLDevice right)
Parameters
Type Name Description
CLDevice left
CLDevice right
Returns
Type Description
bool

Implements

IEquatable<T>
In This Article
Back to top Generated by DocFX