Restored OclCache.

This commit is contained in:
XMRig
2019-08-27 06:31:40 +07:00
parent 684321a7f2
commit 897f08183b
27 changed files with 290 additions and 72 deletions

View File

@@ -51,6 +51,12 @@ if (WITH_OPENCL)
list(APPEND HEADERS_BACKEND_OPENCL src/backend/opencl/runners/OclRxRunner.h)
list(APPEND SOURCES_BACKEND_OPENCL src/backend/opencl/runners/OclRxRunner.cpp)
endif()
if (WITH_STRICT_CACHE)
add_definitions(/DXMRIG_STRICT_OPENCL_CACHE)
else()
remove_definitions(/DXMRIG_STRICT_OPENCL_CACHE)
endif()
else()
remove_definitions(/DXMRIG_FEATURE_OPENCL)