GPUOcelot
Functions

executive::tex Namespace Reference

A namespace for texture sampling instructions. More...

Functions

ir::PTXF64 wrap (ir::PTXF64 b, unsigned int limit, ir::Texture::AddressMode mode)
ir::PTXF32 channelReadF32 (const ir::Texture &texture, unsigned int shift, unsigned int mask, unsigned int index)
void addresses (const ir::Texture &texture, ir::PTXF64 b, trace::TraceEvent::U64Vector &addresses)
void addresses (const ir::Texture &texture, ir::PTXF64 b0, ir::PTXF64 b1, trace::TraceEvent::U64Vector &addresses)
void addresses (const ir::Texture &texture, ir::PTXF64 b0, ir::PTXF64 b1, ir::PTXF64 b2, trace::TraceEvent::U64Vector &addresses)
template<typename D >
channelRead (const ir::Texture &texture, unsigned int shift, unsigned int mask, unsigned int index)
template<unsigned int dim>
void getShiftAndMask (unsigned int &shift, ir::PTXB64 &mask, const ir::Texture &texture)
template<unsigned int dim, typename D , typename B >
sample (const ir::Texture &texture, B b0)
 sample in one dimension
template<unsigned int dim, typename D , typename B >
sample (const ir::Texture &texture, B b0, B b1)
 sample in 2 dimensions
template<unsigned int dim, typename D , typename B >
sample (const ir::Texture &texture, B b0, B b1, B b2)

Detailed Description

A namespace for texture sampling instructions.


Function Documentation

void executive::tex::addresses ( const ir::Texture texture,
ir::PTXF64  b,
trace::TraceEvent::U64Vector addresses 
)
void executive::tex::addresses ( const ir::Texture texture,
ir::PTXF64  b0,
ir::PTXF64  b1,
trace::TraceEvent::U64Vector addresses 
)
void executive::tex::addresses ( const ir::Texture texture,
ir::PTXF64  b0,
ir::PTXF64  b1,
ir::PTXF64  b2,
trace::TraceEvent::U64Vector addresses 
)
template<typename D >
D executive::tex::channelRead ( const ir::Texture texture,
unsigned int  shift,
unsigned int  mask,
unsigned int  index 
)
ir::PTXF32 executive::tex::channelReadF32 ( const ir::Texture texture,
unsigned int  shift,
unsigned int  mask,
unsigned int  index 
)
template<unsigned int dim>
void executive::tex::getShiftAndMask ( unsigned int &  shift,
ir::PTXB64 mask,
const ir::Texture texture 
)
template<unsigned int dim, typename D , typename B >
D executive::tex::sample ( const ir::Texture texture,
b0,
b1,
b2 
)
template<unsigned int dim, typename D , typename B >
D executive::tex::sample ( const ir::Texture texture,
b0 
)

sample in one dimension

template<unsigned int dim, typename D , typename B >
D executive::tex::sample ( const ir::Texture texture,
b0,
b1 
)

sample in 2 dimensions

ir::PTXF64 executive::tex::wrap ( ir::PTXF64  b,
unsigned int  limit,
ir::Texture::AddressMode  mode 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines