Skip to content
Snippets Groups Projects
Select Git revision
  • 776485a6c5417ad70fdf16139298ef247ed442ee
  • master default protected
  • LUFA-170418
  • LUFA-151115
  • LUFA-140928
  • LUFA-140302
  • LUFA-130901
  • LUFA-130901-BETA
  • LUFA-130303
  • LUFA-120730
  • LUFA-120730-BETA
  • LUFA-120219
  • LUFA-120219-BETA
  • LUFA-111009
  • LUFA-111009-BETA
  • LUFA-110528
  • LUFA-110528-BETA
17 results

USBHostMode.c

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