mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
add ocloc versioning
Adds versioning of ocloc and new api function returning ocloc version.
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c3083592ad
commit
903ed4e6d4
@@ -149,4 +149,8 @@ int oclocFreeOutput(uint32_t *numOutputs, uint8_t ***dataOutputs, uint64_t **len
|
||||
delete[](*nameOutputs);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int oclocVersion() {
|
||||
return static_cast<int>(ocloc_version_t::OCLOC_VERSION_CURRENT);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user