mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
minor update
This commit is contained in:
parent
c8455eb562
commit
a5bde3693f
1 changed files with 4 additions and 0 deletions
|
@ -119,6 +119,10 @@ public:
|
|||
if (dev_addr + asize > GLOBAL_MEM_SIZE)
|
||||
return -1;
|
||||
|
||||
if (flags | VX_MEM_WRITE) {
|
||||
flags |= VX_MEM_READ; // ensure caches can handle fill requests
|
||||
}
|
||||
|
||||
ram_.set_acl(dev_addr, size, flags);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue