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

Test failing after clean and stock successful build with no warning or errors #136

Open
yankarinRG opened this issue Dec 13, 2020 · 2 comments

Comments

@yankarinRG
Copy link

yankarinRG commented Dec 13, 2020

After following the build instructions completely and with stock cmake params, running tests fail both for Debug and Release config for the following reasons with exit code 0xc0000135 (STATUS_DLL_NOT_FOUND):

icd_loader_test.exe - System Error: The code execution cannot proceed because IcdLog.dll was not found. Reinstalling the program may fix this problem.

If I manually move IcdLog.dll from build\test\log\[Debug,Release] to the directory where icd_loader_test.exe is I get this other error with exit code 0xc0000139 (STATUS_ENTRYPOINT_NOT_FOUND):

icd_loader_test.exe - Entry Point Not Found: The procedure entry point clCreateImageWithProperties could not be located in the dynamic link library C:\Users\Andrea\Downloads\OpenCL-ICD-Loader\build\test\loader_test\Debug\icd_loader_test.exe.

Built with:

  • OpenCL ICD Loader at 1d5315c
  • OpenCL Headers at KhronosGroup/OpenCL-Headers@c57ba81
  • MSVC 19.28.29335.0
  • Windows 10 Pro 64 bits version 20H2 build 19042.685
  • Windows SDK version 10.0.19041.0
  • Visual Studio Enterprise 2019 version 16.8.3

Screenshoots:
error_release
error_debug

@yankarinRG yankarinRG changed the title Test failing after Test failing after clean and stock successful build with no warning or errors Dec 13, 2020
@bashbaug
Copy link
Contributor

Hello, I wrote up the steps I follow to run the ICD loader tests here:

https://gist.github.com/bashbaug/cd41217c173c4c28088b0e07bd40ecf0

Could you please try following these steps and see if you still encounter issues?

I agree that running the ICD loader tests is very difficult right now and I think this is something we need to improve.

@yankarinRG
Copy link
Author

Hello and thanks for the quick reply, now the single test passes.
The trick was to place OpenCL.dll to the executable directory (other than IcdLog.dll).
I think it would be an useful thing if you could update this repo guide with yours which has all the steps.
Thanks again.

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