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

‘zeCommandListHostSynchronize’ was not declared in this scope #14

Open
jinz2014 opened this issue Jul 12, 2023 · 3 comments
Open

‘zeCommandListHostSynchronize’ was not declared in this scope #14

jinz2014 opened this issue Jul 12, 2023 · 3 comments

Comments

@jinz2014
Copy link

Following the instruction and running the cmake command shows the error:

/path/to/compute-benchmarks/source/benchmarks/api_overhead_benchmark/implementations/l0/command_list_host_synchronize_l0.cpp:56:9: error: ‘zeCommandListHostSynchronize’ was not declared in this scope; did you mean ‘CommandListHostSynchronize’?
56 | zeCommandListHostSynchronize(cmdList, std::numeric_limits<uint64_t>::max());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| CommandListHostSynchronize

@jandres742
Copy link

@jinz2014 : which version of the loader you have installed in the system? on Ubuntu, you can do:

apt list --installed | grep level-zero

you need 1.10 or greater.

@jinz2014
Copy link
Author

The oneAPI toolkit 2023.1.0 is installed. It is 1.9.9.

@jandres742
Copy link

thanks @jinz2014 . So that's the reason. You may install a newer version of the L0 loader and headers from https://github.com/oneapi-src/level-zero/releases

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

No branches or pull requests

2 participants