Clover Git
OpenCL 1.1 software implementation
Classes | Namespaces | Defines

sampler.h File Reference

Sampler object. More...

#include <CL/cl.h>
#include "object.h"
Include dependency graph for sampler.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Coal::Sampler
 Sampler. More...
struct  _cl_sampler

Namespaces

namespace  Coal

Defines

#define CLK_NORMALIZED_COORDS_FALSE   0x00000000
#define CLK_NORMALIZED_COORDS_TRUE   0x00000001
#define CLK_ADDRESS_NONE   0x00000000
#define CLK_ADDRESS_MIRRORED_REPEAT   0x00000010
#define CLK_ADDRESS_REPEAT   0x00000020
#define CLK_ADDRESS_CLAMP_TO_EDGE   0x00000030
#define CLK_ADDRESS_CLAMP   0x00000040
#define CLK_FILTER_NEAREST   0x00000000
#define CLK_FILTER_LINEAR   0x00000100
#define CLK_NORMALIZED_COORDS_MASK   0x0000000f
#define CLK_ADDRESS_MODE_MASK   0x000000f0
#define CLK_FILTER_MASK   0x00000f00

Detailed Description

Sampler object.

Definition in file sampler.h.


Define Documentation

#define CLK_ADDRESS_CLAMP   0x00000040
#define CLK_ADDRESS_CLAMP_TO_EDGE   0x00000030
#define CLK_ADDRESS_MIRRORED_REPEAT   0x00000010
#define CLK_ADDRESS_MODE_MASK   0x000000f0

Definition at line 52 of file sampler.h.

Referenced by Coal::Sampler::info().

#define CLK_ADDRESS_NONE   0x00000000
#define CLK_ADDRESS_REPEAT   0x00000020
#define CLK_FILTER_LINEAR   0x00000100
#define CLK_FILTER_MASK   0x00000f00

Definition at line 53 of file sampler.h.

Referenced by Coal::Sampler::info().

#define CLK_FILTER_NEAREST   0x00000000
#define CLK_NORMALIZED_COORDS_FALSE   0x00000000

Definition at line 41 of file sampler.h.

Referenced by Coal::Sampler::Sampler().

#define CLK_NORMALIZED_COORDS_MASK   0x0000000f

Definition at line 51 of file sampler.h.

Referenced by Coal::Sampler::info().

#define CLK_NORMALIZED_COORDS_TRUE   0x00000001

Definition at line 42 of file sampler.h.

Referenced by Coal::CPUKernelWorkGroup::readImageImplF(), and Coal::Sampler::Sampler().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines