Device-side VBD kernels.
More...
|
| template<auto kBlockThreads> |
| __global__ void | VbdIteration (BackwardEulerMinimization BDF) |
| | VBD iteration kernel.
|
| |
| template<template< auto > class TKernelTraits, class... TArgs> |
| void | Invoke (GpuIndex nBlocks, GpuIndex nThreads, TArgs &&... args) |
| | Invokes a VBD kernel on the GPU with the specified number of blocks and threads.
|
| |
◆ Invoke()
template<template< auto > class TKernelTraits, class... TArgs>
| void pbat::gpu::impl::vbd::kernels::Invoke |
( |
GpuIndex | nBlocks, |
|
|
GpuIndex | nThreads, |
|
|
TArgs &&... | args ) |
Invokes a VBD kernel on the GPU with the specified number of blocks and threads.
- Template Parameters
-
| TKernelTraits | Kernel traits type |
| TArgs | Argument types |
- Parameters
-
| nBlocks | Grid size |
| nThreads | Block size |
| args | Arguments to pass to the kernel |
◆ VbdIteration()
template<auto kBlockThreads>
VBD iteration kernel.
- Template Parameters
-
| kBlockThreads | Number of threads per block |
- Parameters
-
| BDF | BDF1 time-stepping minimization problem |