#include <iomanip>
#include <iostream>
#include <limits>
#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/Utilities/interface/ReusableObjectHolder.h"
#include "HeterogeneousCore/CUDAServices/interface/CUDAService.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"
Go to the source code of this file.
Functions | |
std::string | decodeVersion (int version) |
constexpr unsigned int | getCudaCoresPerSM (unsigned int major, unsigned int minor) |
void | setCudaLimit (cudaLimit limit, const char *name, size_t request) |
std::string decodeVersion | ( | int | version | ) |
constexpr unsigned int getCudaCoresPerSM | ( | unsigned int | major, |
unsigned int | minor | ||
) |
void setCudaLimit | ( | cudaLimit | limit, |
const char * | name, | ||
size_t | request | ||
) |
Definition at line 24 of file CUDAService.cc.
References cudaCheck, mps_fire::result, and relativeConstraints::value.
Referenced by CUDAService::CUDAService().