mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-27 06:20:51 -05:00
Added clRetainMemObject support.
This commit is contained in:
@@ -149,7 +149,7 @@ cl_mem xmrig::OclSharedData::dataset() const
|
||||
throw std::runtime_error("RandomX dataset is not available");
|
||||
}
|
||||
|
||||
return m_dataset;
|
||||
return OclLib::retain(m_dataset);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user