Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CTS for Sysman DriverExtension API's #60

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vishnu-khanth
Copy link
Contributor

Related-To: VLCLJ-2237

Related-To: VLCLJ-2237

Signed-off-by: Vishnu Khanth <[email protected]>
conformance_tests/sysman/test_sysman_driver/README.md Outdated Show resolved Hide resolved

### zesDriverGetExtensionProperties

* `GivenValidDriverHandleWhileRetrievingExtensionPropertiesThenValidExtensionPropertiesIsReturned`:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please share whether there is a plan to maintain this readme for every test that is going to be added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure. Since there are only two tests, i added it. In some other test suites like device, it was added in this format.

GivenValidDriverHandleWhileRetrievingExtensionFunctionAddressThenValidAddressIsReturned) {
zes_driver_handle_t driver = lzt::get_default_zes_driver();
std::vector<const char *> ext_functions = {
"zesPowerSetLimitsExt",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are extension functions which are already part of the header file.
The query for function address would be done for "Driver-experimental" APIs which are not yet part of the L0 spec and an application would like to use them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By referring the Core API, the extension API's are in both header and extension API's. we can have a look at it.

Related-To: VLCLJ-2237

Signed-off-by: Vishnu Khanth <[email protected]>
@vishnu-khanth vishnu-khanth marked this pull request as draft August 28, 2024 04:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants