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

Fix unified_tracer.h and add info in README.md so onetrace can be built successfully for Windows #44

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

Conversation

alex-ayu1
Copy link

onetrace cannot be built due to an error in unified_tracer.h, and the lacking of information on how to build the tool for Windows makes the building process difficult. Fixed unified_tracer.h and added more necessary information in README.md to make the built process smoother.

Added #define NOMINMAX so Windows' WinDef.h will not define the min/max
macros.
Added info about <opencl_icd_lib_path> and downloading git and
setting up proxy so the onetrace tool can be built successfully.
@zma2
Copy link
Contributor

zma2 commented Sep 13, 2023

@vladimir-tsymbal @jfedorov Can you please help to review this PR? I helped Alex and fixed the Windows build with the changes in this PR and Alex raised this PR to help us, but we need a third pair of eyes to review it before merging.

Copy link
Contributor

@vladimir-tsymbal vladimir-tsymbal left a comment

Choose a reason for hiding this comment

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

We should not ask user to look at Windows Registry Editor. Any reference to Registry Editor should be removed. Best approach is to refer to MSFT documentation.
OpenCL version and path to dll can be found via Computer Management->Device Manager->Display Adapters->Properties->Driver->Driver Details.

What is the purpose of asking to install git? It's supposed to be the case by default, or at least it should be explained by which reason one needs to install it.
Another note. Why mentioning proxy for git? It's not required outside corporate networks.

Copy link
Contributor

@jfedorov jfedorov left a comment

Choose a reason for hiding this comment

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

@zma2 , @alex-ayu1 Apologies for responding in such a delay.
At the moment - we do not accept PRs into this repo. Please,

  • either open an issue
  • work offline and submit PR into Intel internal repo.

jfedorov pushed a commit that referenced this pull request Dec 15, 2023
* Report summary stats after L0 collector is destructed

* Combine the two checks and fix a typo
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