autotuner.hpp File Reference
#include <cuda.h>
#include <cuda_runtime.h>
#include <functional>
#include <limits>
#include <opm/common/ErrorMacros.hpp>
#include <opm/common/OpmLog/OpmLog.hpp>
#include <opm/simulators/linalg/gpuistl/detail/gpu_safe_call.hpp>
#include <string>
#include <utility>
Include dependency graph for autotuner.hpp:

Go to the source code of this file.

Namespaces

namespace  Opm
 
namespace  Opm::gpuistl
 
namespace  Opm::gpuistl::detail
 

Functions

template<typename func >
int Opm::gpuistl::detail::tuneThreadBlockSize (func &f, std::string descriptionOfFunction)
 Function that tests the best thread block size, assumes the provided function depends on threadblock-size. More...