Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
338 Discussions

Deploy oneAPI application to a target PC with no oneAPI toolkit installed

Piovesan__Stefano
710 Views

After compiling sepia-filter.exe sample, I wanted to deploy it to a PC without the one API toolkit installed (i.e. a production PC). I did not found a runtime installer for that. I had to dig into the output trace and use a dependency tracker to find the right dependencies, and finally manually copy all the dlls needed.

 

 

 

'sepia-filter.exe' (Win32): Loaded 'E:\Lavori\oneAPI\oneAPI-samples\DirectProgramming\DPC++\CombinationalLogic\sepia-filter\x64\Release\sepia-filter.exe'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\redist\intel64_win\compiler\svml_dispmd.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\redist\intel64_win\compiler\libmmd.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\bin\sycl.dll'. Module was built without symbols.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\win32u.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\OpenCL.dll'. Module was built without symbols.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Symbols loaded.
The thread 0x3fe8 has exited with code 0 (0x0).
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\bin\pi_opencl.dll'. Module was built without symbols.
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\bin\pi_level_zero.dll'. Module was built without symbols.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ze_loader.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\emu\intelocl64_emu.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\emu\task_executor64_emu.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\emu\cpu_device64_emu.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\x64\intelocl64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\x64\task_executor64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'E:\Program Files (x86)\Intel\oneAPI\compiler\2021.1.1\windows\lib\x64\cpu_device64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\clbcatq.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\AppXDeploymentClient.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\StateRepository.Core.dll'. 
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\StateRepository.Core.dll'
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\AppXDeploymentClient.dll'
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\dxgi.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ResourcePolicyClient.dll'. 
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\ResourcePolicyClient.dll'
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_233e086e960c2400\igdrcl64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_233e086e960c2400\igdgmm64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. 
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\glu32.dll'
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\opengl32.dll'
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_233e086e960c2400\igdfcl64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\SHCore.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\windows.storage.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\cryptsp.dll'. Symbols loaded.
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_233e086e960c2400\igc64.dll'. 
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_bdd37d808cfdf045\igdrcl64.dll'. 
'sepia-filter.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\igdlh64.inf_amd64_bdd37d808cfdf045\igdrcl64.dll'
'sepia-filter.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_233e086e960c2400\ze_intel_gpu64.dll'. 

 

 

 

Is there any better tool to help than doing this manual copy?

 

 

0 Kudos
1 Solution
AbhishekD_Intel
Moderator
685 Views

Hi Stefano,


Thanks for reaching out to us.

To deploy the sepia-filter.exe/oneAPI projects you need to install some runtime to the target machine(production machine) depending on the requirement of your project.

To only deploy to sepia-filter on the target machine try installing Intel oneAPI DPC++ Runtime for Windows on the Target machine.

Please refer to the below link to download Intel oneAPI DPC++ Runtime for Windows:

https://registrationcenter-download.intel.com/akdlm/irc_nas/17514/w_dpcpp_cpp_runtime_p_2021.1.2.265...


If you want to install CPU Runtime OpenCL for Windows then you can refer to the below link:

https://registrationcenter-download.intel.com/akdlm/irc_nas/17496/w_opencl_runtime_p_2021.1.2.246.ex...


Try installing those runtimes and let us know if it is working for you.

Hope this will help you to solve your issue.



Warm Regards,

Abhishek



View solution in original post

4 Replies
AbhishekD_Intel
Moderator
686 Views

Hi Stefano,


Thanks for reaching out to us.

To deploy the sepia-filter.exe/oneAPI projects you need to install some runtime to the target machine(production machine) depending on the requirement of your project.

To only deploy to sepia-filter on the target machine try installing Intel oneAPI DPC++ Runtime for Windows on the Target machine.

Please refer to the below link to download Intel oneAPI DPC++ Runtime for Windows:

https://registrationcenter-download.intel.com/akdlm/irc_nas/17514/w_dpcpp_cpp_runtime_p_2021.1.2.265...


If you want to install CPU Runtime OpenCL for Windows then you can refer to the below link:

https://registrationcenter-download.intel.com/akdlm/irc_nas/17496/w_opencl_runtime_p_2021.1.2.246.ex...


Try installing those runtimes and let us know if it is working for you.

Hope this will help you to solve your issue.



Warm Regards,

Abhishek



Piovesan__Stefano
671 Views

Hi Abhishek,

thanks, this solves the issue.

After installing the suggested packages, it works just by copying the executable file.

 

Best regards,

Stefano  

spiovesan
Beginner
472 Views

Hi Abhishek,

I have updated my toolkit with the 2021.2 release. Is there a dpcpp runtime 2021.2 available?

Best regards.

AbhishekD_Intel
Moderator
655 Views

Hi Stefano,


Thanks for the confirmation. Glad to know that the provided solution is working for you.

As your issue is resolved we will no longer monitor this thread. Please post a new thread you have any other issues.



Warm Regards,

Abhishek


Reply