|
Peano
|
#include "Device.h"#include "tarch/multicore/multicore.h"#include "tarch/compiler/CompilerSpecificSettings.h"#include "tarch/accelerator/sycl/Device.h"#include "accelerator.cpph"

Go to the source code of this file.
Namespaces | |
| namespace | tarch |
| Have to include this header, as I need access to the SYCL_EXTERNAL keyword. | |
| namespace | tarch::internal |
Macros | |
| #define | GPUOffloadingOff |
| #define | GPUCallableMethod |
| #define | GPUCallableInlineMethod |
Enumerations | |
| enum class | tarch::MemoryLocation { tarch::Heap , tarch::ManagedSharedAcceleratorDeviceMemory } |
Functions | |
| void | tarch::gpuAbort () |
| Delegates to std::abort() if no GPU offloading is active. | |
| std::string | tarch::toString (MemoryLocation value) |
| void * | tarch::internal::allocateRawData (std::size_t size, MemoryLocation location, int device) |
| template<class T = double> | |
| T * | tarch::allocateMemory (std::size_t count, MemoryLocation location, int device=accelerator::Device::HostDevice) |
| Allocates memory on the specified memory location. | |
| void | tarch::freeMemory (void *data, MemoryLocation location, int device=accelerator::Device::HostDevice) |
| Free memory. | |
| std::size_t | tarch::padSizeToAlignment (std::size_t size, std::size_t alignment) |
| double * | tarch::memset (double *dest, double ch, size_t byteCount) |
| Alternative GPU-ready version of memset. | |
| #define GPUCallableInlineMethod |
Definition at line 37 of file accelerator.h.
Referenced by exahype2::enumerator::AoSLexicographicEnumerator::AoSLexicographicEnumerator(), exahype2::enumerator::AoSoALexicographicEnumerator::AoSoALexicographicEnumerator(), exahype2::fv::riemann::loopbodies::computeEigenvalues(), exahype2::fv::riemann::loopbodies::computeEigenvalues(), exahype2::fv::riemann::loopbodies::computeFlux(), exahype2::fv::riemann::loopbodies::computeFlux(), exahype2::fv::riemann::loopbodies::computeFlux(), exahype2::fv::riemann::loopbodies::computeNonconservativeFlux(), exahype2::fv::riemann::loopbodies::computeNonconservativeFlux(), exahype2::fv::riemann::loopbodies::computeRiemannSolution(), exahype2::fv::riemann::loopbodies::copySolutionAndAddSourceTerm(), exahype2::fv::riemann::loopbodies::copySolutionAndAddSourceTerm(), exahype2::enumerator::FaceAoSLexicographicEnumerator::FaceAoSLexicographicEnumerator(), exahype2::enumerator::AoSLexicographicEnumerator::numberOfDofsPerCell(), exahype2::enumerator::AoSoALexicographicEnumerator::numberOfDofsPerCell(), exahype2::enumerator::AoSLexicographicEnumerator::operator()(), exahype2::enumerator::AoSoALexicographicEnumerator::operator()(), exahype2::enumerator::FaceAoSLexicographicEnumerator::operator()(), exahype2::enumerator::SingleDoFEnumerator::operator()(), exahype2::enumerator::SoALexicographicEnumerator::operator()(), exahype2::enumerator::SingleDoFEnumerator::SingleDoFEnumerator(), exahype2::enumerator::AoSLexicographicEnumerator::size(), exahype2::enumerator::AoSoALexicographicEnumerator::size(), exahype2::enumerator::FaceAoSLexicographicEnumerator::size(), exahype2::enumerator::SingleDoFEnumerator::size(), exahype2::enumerator::SoALexicographicEnumerator::size(), exahype2::enumerator::SoALexicographicEnumerator::SoALexicographicEnumerator(), and exahype2::fv::riemann::loopbodies::updateSolutionWithNonconservativeFlux().
| #define GPUCallableMethod |
Definition at line 27 of file accelerator.h.
Referenced by benchmarks::exahype2::euler::sphericalaccretionupscaling::SelfSimilarInfallDG::flux(), benchmarks::exahype2::euler::sphericalaccretionupscaling::SelfSimilarInfallFV::flux(), exahype2::fv::rusanov::microbenchmark::AbstractEulerFVSmooth::flux(), benchmarks::exahype2::ccz4::CCZ4::maxEigenvalue(), benchmarks::exahype2::euler::sphericalaccretionupscaling::SelfSimilarInfallFV::maxEigenvalue(), exahype2::fv::rusanov::microbenchmark::AbstractEulerFVSmooth::maxEigenvalue(), benchmarks::exahype2::ccz4::CCZ4::nonconservativeProduct(), benchmarks::exahype2::ccz4::CCZ4::sourceTerm(), benchmarks::exahype2::euler::sphericalaccretionupscaling::SelfSimilarInfallDG::sourceTerm(), and benchmarks::exahype2::euler::sphericalaccretionupscaling::SelfSimilarInfallFV::sourceTerm().
| #define GPUOffloadingOff |
Definition at line 11 of file accelerator.h.