All Projects → PhDP → cuda-cmake-gtest-gbench-starter

PhDP / cuda-cmake-gtest-gbench-starter

Licence: other
A cross-platform CUDA/C++14 starter project with google test and google benchmark support.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
Cuda
1817 projects

Projects that are alternatives of or similar to cuda-cmake-gtest-gbench-starter

Tensorflow Cmake
TensorFlow examples in C, C++, Go and Python without bazel but with cmake and FindTensorFlow.cmake
Stars: ✭ 418 (+1641.67%)
Mutual labels:  cmake, cuda
Primitiv
A Neural Network Toolkit.
Stars: ✭ 164 (+583.33%)
Mutual labels:  cmake, cuda
Ck Caffe
Collective Knowledge workflow for Caffe to automate installation across diverse platforms and to collaboratively evaluate and optimize Caffe-based workloads across diverse hardware, software and data sets (compilers, libraries, tools, models, inputs):
Stars: ✭ 192 (+700%)
Mutual labels:  cmake, cuda
mbsolve
An open-source solver tool for the Maxwell-Bloch equations.
Stars: ✭ 14 (-41.67%)
Mutual labels:  cuda
CPP-Programming
Various C/C++ examples. DirectX, OpenGL, CUDA, Vulkan, OpenCL.
Stars: ✭ 30 (+25%)
Mutual labels:  cuda
PyTorchTOP
GPU PyTorch TOP in TouchDesigner with CUDA-enabled OpenCV
Stars: ✭ 58 (+141.67%)
Mutual labels:  cuda
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (+0%)
Mutual labels:  cmake
tiny-cuda-nn
Lightning fast & tiny C++/CUDA neural network framework
Stars: ✭ 908 (+3683.33%)
Mutual labels:  cuda
c-template
Boilerplate to set up a c project, include CuTest unit testing, cmake build setup
Stars: ✭ 69 (+187.5%)
Mutual labels:  cmake
crowdsource-video-experiments-on-android
Crowdsourcing video experiments (such as collaborative benchmarking and optimization of DNN algorithms) using Collective Knowledge Framework across diverse Android devices provided by volunteers. Results are continuously aggregated in the open repository:
Stars: ✭ 29 (+20.83%)
Mutual labels:  cuda
cuda2GLcore
Implementation of Cuda to OpenGL rendering
Stars: ✭ 46 (+91.67%)
Mutual labels:  cuda
opencv-cuda-docker
Dockerfiles for OpenCV compiled with CUDA, opencv_contrib modules and Python 3 bindings
Stars: ✭ 55 (+129.17%)
Mutual labels:  cuda
computer-vision-dojo
This is a repository to learn and get more computer vision skills, make robotics projects integrating the computer vision as a perception tool and create a lot of awesome advanced controllers for the robots of the future.
Stars: ✭ 15 (-37.5%)
Mutual labels:  cmake
cpp-utilities
Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
Stars: ✭ 35 (+45.83%)
Mutual labels:  cmake
CmakeSettings
Example CmakeSettings.json for different configurations for using CMake inside of Visual Studio
Stars: ✭ 27 (+12.5%)
Mutual labels:  cmake
hipacc
A domain-specific language and compiler for image processing
Stars: ✭ 72 (+200%)
Mutual labels:  cuda
FindICU.cmake
[CMake] [BSD-2] CMake module to find ICU
Stars: ✭ 28 (+16.67%)
Mutual labels:  cmake
desert
A fast (?) random sampling drawing library
Stars: ✭ 61 (+154.17%)
Mutual labels:  cuda
esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-12.5%)
Mutual labels:  cmake
cmake-cheatsheet
CMake Cheat Sheet
Stars: ✭ 37 (+54.17%)
Mutual labels:  cmake

CUDA/C++14 cmake starter with google test and google benchmark

License: MIT

A cross-platform CUDA/C++14 starter project with google test and google benchmark support. See this project for a similar template without CUDA support.

This project template is using git submodule to include Google Benchmark and Google Test so you need either to do

$ git clone --recursive [email protected]:PhDP/cuda-cmake-gtest-gbench-starter.git

or

$ git clone [email protected]:PhDP/cuda-cmake-gtest-gbench-starter.git
$ cd cuda-cmake-gtest-gbench-starter
$ git submodule init
$ git submodule update

Build

On Linux/Unix, to build and make the test:

$ mkdir build && cd $_
$ cmake ..
$ make

CUDA is strict about compiler version, on UNIX, cmake will honor the CXX variable, so for example to use gcc 8 you can write (before calling cmake):

$ export CC=gcc-8
$ export CXX=g++-8

or

$ CC=gcc-8 CXX=g++-8 cmake ..

By default, the makefiles will build the library, executable, tests, and benchmarks. The commands

$ ./test/test_deepgreen
$ ./bench/bench_deepgreen

...will run the tests and benchmarks.

On Windows, you can use cmake to generate Visual Studio build files with the same 'cmake ..' command.

By default, the project will be built in RELEASE mode, use

$ cmake .. -DCMAKE_BUILD_TYPE=DEBUG

to build in DEBUG mode.

See the CMakeLists.txt file to see all the options.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].