58 unsigned mProfilingEnabled : 1;
60 unsigned mReserved0 : 31;
64 unsigned char mReserved0[60];
80 uint64_t mGlobalMemCacheSize_byte ;
81 uint64_t mGlobalMemSize_byte ;
82 uint64_t mImage2DMaxHeight ;
83 uint64_t mImage2DMaxWidth ;
84 uint64_t mImage3DMaxDepth ;
85 uint64_t mImage3DMaxHeight ;
86 uint64_t mImage3DMaxWidth ;
87 uint64_t mLocalMemSize_byte ;
88 uint64_t mMaxConstantBufferSize_byte;
89 uint64_t mMaxMemAllocSize_byte ;
90 uint64_t mMaxParameterSize_byte ;
91 uint64_t mMaxWorkGroupSize ;
92 uint64_t mMaxWorkItemSizes [3];
94 uint8_t mReserved0[8];
96 uint32_t mGlobalMemCacheType ;
97 uint32_t mGlobalMemCacheLineSize_byte;
98 uint32_t mLocalMemType ;
99 uint32_t mMaxComputeUnits ;
100 uint32_t mMaxConstantArgs ;
101 uint32_t mMaxReadImageArgs ;
102 uint32_t mMaxSamplers ;
103 uint32_t mMaxWriteImageArgs ;
104 uint32_t mMemBaseAddrAlign_bit ;
105 uint32_t mMinDataTypeAlignSize_byte ;
106 uint32_t mPreferredVectorWidthChar ;
107 uint32_t mPreferredVectorWidthShort ;
108 uint32_t mPreferredVectorWidthInt ;
109 uint32_t mPreferredVectorWidthLong ;
112 uint8_t mReserved1[64];
116 unsigned mAvailable : 1;
117 unsigned mCompilerAvailable : 1;
118 unsigned mImageSupport : 1;
119 unsigned mEndianLittle : 1;
121 unsigned mReserved0 : 28;
125 char mDriverVersion[128];
131 uint8_t mReserved2[128];
149 static OPEN_NET_PUBLIC Status
Display(
const Info & aIn, FILE * aOut);
207 virtual const char *
GetName()
const = 0;
248 virtual Status
Display(FILE * aOut)
const = 0;
virtual UserBuffer * AllocateUserBuffer(unsigned int aSize_byte)=0
Allocate a user buffer in the processor memory.
static OPEN_NET_PUBLIC Status Display(const Info &aIn, FILE *aOut)
Display.
This structure contains the information about a Processor.
Definition: Processor.h:78
virtual Status SetConfig(const Config &aConfig)=0
Modify the configuration.
virtual void * GetDevice()=0
Retrieve the OpenCL device id.
virtual void * GetContext()=0
Retrieve the OpenCL context.
virtual const char * GetName() const =0
Retrieve the instance's name.
virtual Status GetInfo(Info *aOut) const =0
Retrieve the Info.
The UserBuffer class.
Definition: UserBuffer.h:29
virtual Status GetConfig(Config *aOut) const =0
Retrieve configuration.
This structure contains the configuration of a Processor.
Definition: Processor.h:54
This class define the processor level interface.
Definition: Processor.h:33