diff --git a/tools/onetrace/README.md b/tools/onetrace/README.md index f558b77..9cc8111 100644 --- a/tools/onetrace/README.md +++ b/tools/onetrace/README.md @@ -189,6 +189,10 @@ cd build cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_LIBRARY_PATH= .. nmake ``` +Please note that is the path where you can find in Windows' "Registry Editor" (Search "Registry Editor" with the "magnifying glass" icon) and look under HKEY_LOCAL_MACHINE -> SOFTWARE -> Khronos -> OpenCL -> Vendors and you should see something like this: C:\Program Files (x86)\Intel\oneAPI\compiler\latest\windows\lib\x64\intelocl64.dll, this is your +You also need to download and install git, and set up the proxy in the command prompt: +git config --global http.proxy http://[username]:[password]%40[your proxy] + Use this command line to run the tool: ```sh onetrace.exe [options] @@ -197,4 +201,4 @@ One may use e.g. [dpc_gemm](../../samples/dpc_gemm) as target application, e.g.: ```sh onetrace.exe -c -h ..\..\..\samples\dpc_gemm\build\dpc_gemm.exe cpu onetrace.exe -c -h ..\..\..\samples\dpc_gemm\build\dpc_gemm.exe gpu -``` \ No newline at end of file +``` diff --git a/tools/onetrace/unified_tracer.h b/tools/onetrace/unified_tracer.h index b50f51c..8bdf634 100644 --- a/tools/onetrace/unified_tracer.h +++ b/tools/onetrace/unified_tracer.h @@ -6,6 +6,7 @@ #ifndef PTI_TOOLS_ONETRACE_UNIFIED_TRACER_H_ #define PTI_TOOLS_ONETRACE_UNIFIED_TRACER_H_ +#define NOMINMAX #include #include @@ -1194,4 +1195,4 @@ class UnifiedTracer { Logger* chrome_logger_ = nullptr; }; -#endif // PTI_TOOLS_ONETRACE_UNIFIED_TRACER_H_ \ No newline at end of file +#endif // PTI_TOOLS_ONETRACE_UNIFIED_TRACER_H_