본문 바로가기
Program Language/OpenCL

Intel OpenCL visual studio 설정

by Leo 리오 2012. 8. 8.
반응형

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.







반응형

'Program Language > OpenCL' 카테고리의 다른 글

OpenCL 외부파일 쉽게 컴파일하기  (0) 2012.09.21
[OCL] #include cannot open source file "......cl"  (0) 2012.09.21
amd opencl __constant  (0) 2012.06.20
standard functions in OpenCL  (0) 2012.06.04
clBuildProgram  (1) 2012.06.02

댓글