Merge pull request #4574 from lioncash/const-fn
memory_manager: Mark IsGranularRange() as a const member function
This commit is contained in:
commit
902bf6d37d
2 changed files with 3 additions and 3 deletions
|
@ -112,7 +112,7 @@ public:
|
|||
/**
|
||||
* IsGranularRange checks if a gpu region can be simply read with a pointer.
|
||||
*/
|
||||
bool IsGranularRange(GPUVAddr gpu_addr, std::size_t size);
|
||||
bool IsGranularRange(GPUVAddr gpu_addr, std::size_t size) const;
|
||||
|
||||
GPUVAddr Map(VAddr cpu_addr, GPUVAddr gpu_addr, std::size_t size);
|
||||
GPUVAddr MapAllocate(VAddr cpu_addr, std::size_t size, std::size_t align);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue