Skip to content
Snippets Groups Projects
Select Git revision
  • 4f497dae89fabf976f711ff2ea697b72fa5355a4
  • master default
  • dev
3 results

OctaRotEdgeLattice.js

Blame
  • constants.h 475 B
    #ifndef MPI_PI_GPU_CONSTANTS_H
    #define MPI_PI_GPU_CONSTANTS_H
    
    #include <cstdint>
    
    // currently init_kernel assumes n_terms_per_thread is a multiple of 10
    uint64_t const n_terms_per_thread = 1000000;
    uint64_t const n_threads_per_gpu = 1024 * 1024;
    uint64_t const n_terms_per_gpu = n_terms_per_thread * n_threads_per_gpu;
    uint64_t const n_threads_per_block = 1024;
    uint64_t const n_blocks_per_gpu = (n_threads_per_gpu + n_threads_per_block - 1) / n_threads_per_block;
    
    #endif