Cache lock cleanup and API improvements

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2019-01-21 13:46:28 +01:00
parent 0abb4dbbca
commit 03c2f142b3
13 changed files with 325 additions and 621 deletions

View File

@@ -203,7 +203,7 @@ int main(int argc, char *argv[])
perform_workload(core1);
/* Remove core from cache */
if (ocf_mngt_cache_remove_core(cache1, ocf_core_get_id(core1), false))
if (ocf_mngt_cache_remove_core(core1))
error("Unable to remove core\n");
/* Stop cache */