ILGPU  0.9.0
ILGPU.Backends.PTX.PTXCodeGenerator.PredicateConfiguration Struct Reference

Represents a predicate-register configuration. More...

Public Member Functions

 PredicateConfiguration (HardwareRegister predicateRegister, bool isTrue)
 Constructs a new predicate configuration. More...
 

Properties

HardwareRegister PredicateRegister [get]
 The predicate register. More...
 
bool IsTrue [get]
 Branch if the predicate register is true. More...
 

Detailed Description

Represents a predicate-register configuration.

Constructor & Destructor Documentation

ILGPU.Backends.PTX.PTXCodeGenerator.PredicateConfiguration.PredicateConfiguration ( HardwareRegister  predicateRegister,
bool  isTrue 
)

Constructs a new predicate configuration.

Parameters
predicateRegisterThe predicate register to test.
isTrueBranch if the predicate register is true.

Property Documentation

bool ILGPU.Backends.PTX.PTXCodeGenerator.PredicateConfiguration.IsTrue
get

Branch if the predicate register is true.

HardwareRegister ILGPU.Backends.PTX.PTXCodeGenerator.PredicateConfiguration.PredicateRegister
get

The predicate register.


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