1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-27 14:23:28 -05:00

Fixed memory allocation on old low memory AMD GPUs.

This commit is contained in:
XMRig
2019-11-15 19:42:35 +07:00
parent 0497ab072b
commit f9bc3fb09b
3 changed files with 17 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ class OclSharedData
public:
OclSharedData() = default;
cl_mem createBuffer(cl_context context, size_t size, size_t &offset);
cl_mem createBuffer(cl_context context, size_t size, size_t &offset, size_t limit);
uint64_t adjustDelay(size_t id);
uint64_t resumeDelay(size_t id);
void release();