Add const suffix
Change-Id: I128a710a889aa6a7ead7867400a8b1ec6e781729 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
parent
686f885e13
commit
ca84ebfe4c
|
@ -257,7 +257,7 @@ size_t Context::getTotalNumDevices() const {
|
|||
return numAvailableDevices;
|
||||
}
|
||||
|
||||
ClDevice *Context::getDevice(size_t deviceOrdinal) {
|
||||
ClDevice *Context::getDevice(size_t deviceOrdinal) const {
|
||||
return (ClDevice *)devices[deviceOrdinal];
|
||||
}
|
||||
|
||||
|
|
|
@ -75,9 +75,9 @@ class Context : public BaseObject<_cl_context> {
|
|||
|
||||
size_t getNumDevices() const;
|
||||
size_t getTotalNumDevices() const;
|
||||
ClDevice *getDevice(size_t deviceOrdinal);
|
||||
ClDevice *getDevice(size_t deviceOrdinal) const;
|
||||
|
||||
MemoryManager *getMemoryManager() {
|
||||
MemoryManager *getMemoryManager() const {
|
||||
return memoryManager;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue