Select Git revision
USBHostMode.c
-
Dean Camera authored
Add svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
Dean Camera authoredAdd svn:eol-style property to source files, so that the line endings are correctly converted to the target system's native end of line style.
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