Monday, January 9, 2017

study: OpenCL Intel GPU: install SDK


  • I download opencl sdk for intel GPU from https://software.intel.com/en-us/intel-opencl/download it ask my email to register, then, star download ntel_sdk_for_opencl_setup_6.3.0.1904.exe (276 MB)
  • click the exe file, it will install intel sdk for opencl in folder: intel\opencl SDK\6.3 after install, it require restart computer. the folder is about 500M, but there is no sample file.
  • I think I can copy sample file from amd opencl package. this package is big, about 522M, it contain: 
    • bolt
    • c++AMP
    • opencl
    • opencv
  • in eopncl, we click OpenCL2.0SamplesVS13, this solution includes lots of project, we select HelloWorld to compile, there are error. obviously, the error is come from the proejct still don't know the position of opencl header file and lib. then we need add AMDAPPSDKROOT into environment variables, we set it equal to C:\Program Files (x86)\Intel\OpenCL SDK\6.3
  • then, recompile the project, it success. we can run it. it display "Passed". but, not all project works. some of them miss CLUtil.hpp file
  • after install, we can found in the vs, there is a new menu item: code-builder . it is for opencl development. https://software.intel.com/en-us/intel-opencl/ there are several video teach you how to use it 

No comments:

Post a Comment