File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ size_t Context::getTotalNumDevices() const {
257257 return numAvailableDevices;
258258}
259259
260- ClDevice *Context::getDevice (size_t deviceOrdinal) {
260+ ClDevice *Context::getDevice (size_t deviceOrdinal) const {
261261 return (ClDevice *)devices[deviceOrdinal];
262262}
263263
Original file line number Diff line number Diff line change @@ -75,9 +75,9 @@ class Context : public BaseObject<_cl_context> {
7575
7676 size_t getNumDevices () const ;
7777 size_t getTotalNumDevices () const ;
78- ClDevice *getDevice (size_t deviceOrdinal);
78+ ClDevice *getDevice (size_t deviceOrdinal) const ;
7979
80- MemoryManager *getMemoryManager () {
80+ MemoryManager *getMemoryManager () const {
8181 return memoryManager;
8282 }
8383
You can’t perform that action at this time.
0 commit comments