hzyu-hub / opencl-learning

为了学习opencl而开启的仓库

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Learning OpenCl

1. complier command step

  • mkdir
  • chmod +x run.sh
  • ./run.sh

2. Your maybe need to gedit sample' CMakeLists.txt to run your computer

2.1. opencl include path

  • include_directories("your opencl include path")
  • eg: include_directories(/usr/local/cuda/include)

2.1. opencl lib path

  • link_directories("your opencl lib path")
  • eg: link_directories(/usr/local/cuda/lib64)

About

为了学习opencl而开启的仓库


Languages

Language:C++ 73.8%Language:C 25.2%Language:CMake 0.6%Language:Python 0.2%Language:Shell 0.1%