Program Language/OpenCL

Intel OpenCL visual studio 설정

Leo 리오 2012. 8. 8. 15:09
반응형

http://software.intel.com/sites/landingpage/opencl/user-guide/index.htm




1. Intel OpenCL SDK 받기

http://software.intel.com/en-us/articles/vcsource-tools/

http://software.intel.com/en-us/articles/vcsource-tools-opencl-sdk/





2. visual studio project setting

  1. Open the project property pages by selecting Project > Properties.
  2. In the C/C++ > General property page, under Additional Include Directories, enter the full path to the directory where the OpenCL* header files are located:

    $(INTELOCLSDKROOT)\include.




3.  In the Linker > General property page, under Additional Library Directories, enter the full path to the directory where the OpenCL* run-time import library file is located. For example, for 32-bit application:

$(INTELOCLSDKROOT)\lib\x86




In the Linker > Input property page, under Additional Dependencies, enter the name of the OpenCL* ICD import library fileOpenCL.lib.







반응형