ILGPU  0.9.0
ILGPU.Backends.PTXInstructionSet Struct Reference

Represents a PTX ISA (Instruction Set Architecture). More...

Inheritance diagram for ILGPU.Backends.PTXInstructionSet:

Public Member Functions

bool Equals (PTXInstructionSet other)
 Returns true if the given instruction set is equal to this instruction set. More...
 
int CompareTo (PTXInstructionSet other)
 Compares this instruction set to the given one. More...
 
override bool Equals (object obj)
 Returns true if the given object is equal to this instruction set. More...
 
override int GetHashCode ()
 Returns the hash code of this instruction set. More...
 
override string ToString ()
 Returns the string representation of the instruction set. More...
 

Static Public Member Functions

static bool operator== (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first and the second instruction set are the same. More...
 
static bool operator!= (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first and the second instruction set are not the same. More...
 
static bool operator< (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first instruction set is smaller than the second one. More...
 
static bool operator<= (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first instruction set is less than or equal to the second instruction set. More...
 
static bool operator> (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first instruction set is greater than the second one. More...
 
static bool operator>= (PTXInstructionSet first, PTXInstructionSet second)
 Returns true if the first instruction set is greater than or equal to the second instruction set. More...
 

Static Public Attributes

static readonly PTXInstructionSet ISA_30 = new PTXInstructionSet(3, 0)
 The 3.0 ISA. More...
 
static readonly PTXInstructionSet ISA_31 = new PTXInstructionSet(3, 1)
 The 3.1 ISA. More...
 
static readonly PTXInstructionSet ISA_32 = new PTXInstructionSet(3, 2)
 The 3.2 ISA. More...
 
static readonly PTXInstructionSet ISA_40 = new PTXInstructionSet(4, 0)
 The 4.0 ISA. More...
 
static readonly PTXInstructionSet ISA_41 = new PTXInstructionSet(4, 1)
 The 4.1 ISA. More...
 
static readonly PTXInstructionSet ISA_42 = new PTXInstructionSet(4, 2)
 The 4.2 ISA. More...
 
static readonly PTXInstructionSet ISA_43 = new PTXInstructionSet(4, 3)
 The 4.3 ISA. More...
 
static readonly PTXInstructionSet ISA_50 = new PTXInstructionSet(5, 0)
 The 5.0 ISA. More...
 
static readonly PTXInstructionSet ISA_60 = new PTXInstructionSet(6, 0)
 The 6.0 ISA. More...
 
static readonly PTXInstructionSet ISA_61 = new PTXInstructionSet(6, 1)
 The 6.1 ISA. More...
 
static readonly PTXInstructionSet ISA_62 = new PTXInstructionSet(6, 2)
 The 6.2 ISA. More...
 
static readonly PTXInstructionSet ISA_63 = new PTXInstructionSet(6, 3)
 The 6.3 ISA. More...
 
static readonly PTXInstructionSet ISA_64 = new PTXInstructionSet(6, 4)
 The 6.4 ISA. More...
 
static readonly PTXInstructionSet ISA_65 = new PTXInstructionSet(6, 5)
 The 6.5 ISA. More...
 
static readonly PTXInstructionSet ISA_70 = new PTXInstructionSet(7, 0)
 The 7.0 ISA. More...
 

Properties

int Major [get]
 The major version More...
 
int Minor [get]
 The minor version More...
 

Detailed Description

Represents a PTX ISA (Instruction Set Architecture).

Member Function Documentation

int ILGPU.Backends.PTXInstructionSet.CompareTo ( PTXInstructionSet  other)

Compares this instruction set to the given one.

Parameters
otherThe object to compare to.
Returns
The comparison result.
bool ILGPU.Backends.PTXInstructionSet.Equals ( PTXInstructionSet  other)

Returns true if the given instruction set is equal to this instruction set.

Parameters
otherThe other instruction set.
Returns
True, if the given instruction set is equal to this instruction set.
override bool ILGPU.Backends.PTXInstructionSet.Equals ( object  obj)

Returns true if the given object is equal to this instruction set.

Parameters
objThe other object.
Returns
True, if the given object is equal to this instruction set.
override int ILGPU.Backends.PTXInstructionSet.GetHashCode ( )

Returns the hash code of this instruction set.

Returns
The hash code of this instruction set.
static bool ILGPU.Backends.PTXInstructionSet.operator!= ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first and the second instruction set are not the same.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first and the second instruction set are not the same.
static bool ILGPU.Backends.PTXInstructionSet.operator< ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first instruction set is smaller than the second one.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first instruction set is smaller than the second one.
static bool ILGPU.Backends.PTXInstructionSet.operator<= ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first instruction set is less than or equal to the second instruction set.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first instruction set is less or equal to the second instruction set.
static bool ILGPU.Backends.PTXInstructionSet.operator== ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first and the second instruction set are the same.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first and the second instruction set are the same.
static bool ILGPU.Backends.PTXInstructionSet.operator> ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first instruction set is greater than the second one.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first instruction set is greater than the second one.
static bool ILGPU.Backends.PTXInstructionSet.operator>= ( PTXInstructionSet  first,
PTXInstructionSet  second 
)
static

Returns true if the first instruction set is greater than or equal to the second instruction set.

Parameters
firstThe first instruction set.
secondThe second instruction set.
Returns
True, if the first instruction set is greater or equal to the second instruction set.
override string ILGPU.Backends.PTXInstructionSet.ToString ( )

Returns the string representation of the instruction set.

Returns
The string representation of the instruction set.

Member Data Documentation

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_30 = new PTXInstructionSet(3, 0)
static

The 3.0 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_31 = new PTXInstructionSet(3, 1)
static

The 3.1 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_32 = new PTXInstructionSet(3, 2)
static

The 3.2 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_40 = new PTXInstructionSet(4, 0)
static

The 4.0 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_41 = new PTXInstructionSet(4, 1)
static

The 4.1 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_42 = new PTXInstructionSet(4, 2)
static

The 4.2 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_43 = new PTXInstructionSet(4, 3)
static

The 4.3 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_50 = new PTXInstructionSet(5, 0)
static

The 5.0 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_60 = new PTXInstructionSet(6, 0)
static

The 6.0 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_61 = new PTXInstructionSet(6, 1)
static

The 6.1 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_62 = new PTXInstructionSet(6, 2)
static

The 6.2 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_63 = new PTXInstructionSet(6, 3)
static

The 6.3 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_64 = new PTXInstructionSet(6, 4)
static

The 6.4 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_65 = new PTXInstructionSet(6, 5)
static

The 6.5 ISA.

readonly PTXInstructionSet ILGPU.Backends.PTXInstructionSet.ISA_70 = new PTXInstructionSet(7, 0)
static

The 7.0 ISA.

Property Documentation

int ILGPU.Backends.PTXInstructionSet.Major
get

The major version

int ILGPU.Backends.PTXInstructionSet.Minor
get

The minor version


The documentation for this struct was generated from the following file: