AI Engine API User Guide (AIE-API) 2024.1
Loading...
Searching...
No Matches
aie::tile Class Reference

#include <tile.hpp>

Public Member Functions

uint64_t cycles () const
 Return the elapsed number of cycles.
 
rounding_mode get_rounding () const
 Returns current rounding mode.
 
saturation_mode get_saturation () const
 Returns current saturation mode.
 
tile_id global_id () const
 Return the global tile id.
 
tile_id id () const
 Return the tile id.
 
void set_rounding (rounding_mode mode)
 Changes rounding mode.
 
void set_saturation (saturation_mode mode)
 Changes saturation mode.
 

Static Public Member Functions

static tile current ()
 Return an instance of tile representing the current tile.
 

Member Function Documentation

◆ current()

static tile aie::tile::current ( )
inlinestatic

Return an instance of tile representing the current tile.

◆ cycles()

uint64_t aie::tile::cycles ( ) const
inline

Return the elapsed number of cycles.

◆ get_rounding()

rounding_mode aie::tile::get_rounding ( ) const
inline

Returns current rounding mode.

◆ get_saturation()

saturation_mode aie::tile::get_saturation ( ) const
inline

Returns current saturation mode.

◆ global_id()

tile_id aie::tile::global_id ( ) const
inline

Return the global tile id.

◆ id()

tile_id aie::tile::id ( ) const
inline

Return the tile id.

◆ set_rounding()

void aie::tile::set_rounding ( rounding_mode  mode)
inline

Changes rounding mode.

◆ set_saturation()

void aie::tile::set_saturation ( saturation_mode  mode)
inline

Changes saturation mode.


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