#include <iomanip>
#include <iostream>
#include <limits>
#include <set>
#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include <cuda.h>
#include <cuda_runtime.h>
#include <nvml.h>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
#include "FWCore/ParameterSet/interface/ParameterSet.h"
#include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
#include "FWCore/ServiceRegistry/interface/Service.h"
#include "FWCore/Utilities/interface/ResourceInformation.h"
#include "FWCore/Utilities/interface/ReusableObjectHolder.h"
#include "HeterogeneousCore/CUDAServices/interface/CUDAInterface.h"
#include "HeterogeneousCore/CUDAUtilities/interface/EventCache.h"
#include "HeterogeneousCore/CUDAUtilities/interface/StreamCache.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cachingAllocators.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/currentDevice.h"
#include "HeterogeneousCore/CUDAUtilities/interface/device_unique_ptr.h"
#include "HeterogeneousCore/CUDAUtilities/interface/host_unique_ptr.h"
#include "HeterogeneousCore/CUDAUtilities/interface/nvmlCheck.h"
#include "FWCore/ServiceRegistry/interface/ServiceMaker.h"
Go to the source code of this file.
Classes | |
class | CUDAService |
Namespaces | |
edm | |
HLT enums. | |
edm::service | |
Typedefs | |
typedef CUDAServiceMaker ::concrete_t | CUDAService___t |
typedef edm::serviceregistry::ServiceMaker< CUDAServiceMaker ::interface_t, CUDAServiceMaker > | CUDAService__t |
using | CUDAServiceMaker = edm::serviceregistry::ParameterSetMaker< CUDAInterface, CUDAService > |
Functions | |
std::string | decodeVersion (int version) |
constexpr unsigned int | getCudaCoresPerSM (unsigned int major, unsigned int minor) |
bool | edm::service::isProcessWideService (CUDAService const *) |
static const edm::ParameterSetDescriptionFillerPluginFactory::PMaker< edm::DescriptionFillerForServices< CUDAService___t > > | s_filler__LINE__ ("CUDAService") |
static const edm::serviceregistry::ServicePluginFactory ::PMaker< CUDAService__t > | s_maker__LINE__ ("CUDAService") |
void | setCudaLimit (cudaLimit limit, const char *name, size_t request) |
typedef CUDAServiceMaker ::concrete_t CUDAService___t |
Definition at line 488 of file CUDAService.cc.
typedef edm::serviceregistry::ServiceMaker< CUDAServiceMaker ::interface_t, CUDAServiceMaker > CUDAService__t |
Definition at line 488 of file CUDAService.cc.
Definition at line 487 of file CUDAService.cc.
std::string decodeVersion | ( | int | version | ) |
Definition at line 138 of file CUDAService.cc.
References cond::impl::to_string(), and BeamSplash_cfg::version.
Referenced by CUDAService::CUDAService().
constexpr unsigned int getCudaCoresPerSM | ( | unsigned int | major, |
unsigned int | minor | ||
) |
|
static |
|
static |
void setCudaLimit | ( | cudaLimit | limit, |
const char * | name, | ||
size_t | request | ||
) |
Definition at line 59 of file CUDAService.cc.
References cudaCheck, remoteMonitoring_LASER_era2018_cfg::limit, Skims_PA_cff::name, mps_fire::result, and relativeConstraints::value.
Referenced by CUDAService::CUDAService().