We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compilation of a code with omp_get_device_num() gives warning about implicit declaration of the function, while compiled on gfx906 only (e.g. https://github.com/ROCm-Developer-Tools/aomp/tree/master/test/smoke/devices). Although this is only a warning, the test can be compiled and executed.
devices.c:19:25: warning: implicit declaration of function 'omp_get_device_num' is invalid in C99 [-Wimplicit-function-declaration]
The text was updated successfully, but these errors were encountered:
This turns out to be the header file issue. which copy of omp.h being found in include search path affected the warning …
Sorry, something went wrong.
No branches or pull requests
Compilation of a code with omp_get_device_num() gives warning about implicit declaration of the function, while compiled on gfx906 only (e.g. https://github.com/ROCm-Developer-Tools/aomp/tree/master/test/smoke/devices).
Although this is only a warning, the test can be compiled and executed.
devices.c:19:25: warning: implicit declaration of function 'omp_get_device_num' is invalid in C99 [-Wimplicit-function-declaration]
The text was updated successfully, but these errors were encountered: