gpuThreadUtils.hpp
Go to the documentation of this file.
#define OPM_GPU_SAFE_CALL(expression) OPM_GPU_SAFE_CALL checks the return type of the GPU expression (function call) and throws an exceptio... Definition: gpu_safe_call.hpp:150 Definition: autotuner.hpp:29 int getCudaRecomendedThreadBlockSize(Kernel k, int suggestedThrBlockSize=-1) Definition: gpuThreadUtils.hpp:47 int getNumberOfBlocks(int wantedThreads, int threadBlockSize) Definition: gpuThreadUtils.hpp:59 size_t getBlocks(size_t numberOfRows) Definition: gpuThreadUtils.hpp:38 constexpr size_t getThreads(size_t numberOfRows) Definition: gpuThreadUtils.hpp:32 |