Versions

  • OS: Windows 7 
  • GPU: AMD Raedon HD 6870
  • IDE: Visual Studio 2010
  • Driver: ATI Catalyst™ 11.7 Driver Suite
  • OpenCL:  AMD APP SDK v2.5 with OpenCL™ 1.1 support
Prerequisites
Windows Environment Variables
  • All have been seted during Installation
  • check %AMDAPPSDKROOT%(echo %AMDAPPSDKROOT%) and %PATH%(echo %PATH%)
Creat a Empty Project
  • Files -> New -> Project...
  • Visual C++ -> Win32 -> Win32 Console Application
  • Name your projects
Configuration Properties
  • Right click on the project -> Properties
  • Select "All Configurations" in [Configuration] at top left corner
  • Configuration Porperties -> C/C++ -> General -> Addtional Include Directories
  • add "$(AMDAPPSDKROOT)include"
  • Configuration Porperties -> Linker -> General -> Additional Library Directories
  • add "$(AMDAPPSDKROOT)lib\x86"
  • Configuration Porperties -> Linker -> Input-> Additional Dependencies
  • add "OpenCL.lib"
Run test program
Reference

相关文章:

  • 2022-02-07
  • 2021-11-16
  • 2021-09-09
  • 2021-06-28
  • 2021-10-07
  • 2021-08-18
  • 2021-07-30
  • 2021-09-24
猜你喜欢
  • 2022-01-10
  • 2021-08-23
  • 2022-12-23
  • 2021-08-31
  • 2021-07-04
  • 2021-09-29
  • 2021-09-24
相关资源
相似解决方案