Skip to content

cassc/stdgpu-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark stdgpu

Build stdgpu

git clone https://github.com/stotko/stdgpu
cd stdgpu
mkdir build
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=bin
cmake --install build --config Release

test unordered_map

cmake -S . -B build -DSTDGPU_PATH={path-to-stotko-stdgpu/bin}
cmake --build build
./build/stdgpu-demo

CPU Execution Time: 216.336 ms
GPU Execution Time: 0.967936 ms

Emacs configuration

In .dir-locals.el:

((nil . ((ccls-initialization-options
          .
          (:clang (:extraArgs ["-I{stotko-stdgpu-bin}/include" ;; UPDATE
                               "-I/opt/cuda/include" ;; UPDATE
                               ])))
         (eval . (setq flycheck-clang-include-path
                       '("{stotko-stdgpu-bin}/include"
                         "/opt/cuda/include"))))))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published