19 #ifndef __stir_recon_buildblock_CUDA_CudaGibbsPenalty_H__ 20 #define __stir_recon_buildblock_CUDA_CudaGibbsPenalty_H__ 49 template <
typename elemT,
typename PotentialT>
62 int threads_per_block;
63 size_t shared_mem_bytes;
65 elemT* d_image_data =
nullptr;
67 cuda_int3 d_image_dim;
68 cuda_int3 d_image_max_indices;
69 cuda_int3 d_image_min_indices;
70 cuda_int3 d_weight_max_indices;
71 cuda_int3 d_weight_min_indices;
74 float* d_weights_data =
nullptr;
75 elemT* d_kappa_data =
nullptr;
78 mutable double* d_scalar =
nullptr;
80 mutable elemT* d_input_data =
nullptr;
82 mutable elemT* d_output_data =
nullptr;
125 # include "stir/recon_buildblock/CUDA/CudaGibbsPenalty.cuh" 128 #endif // __stir_recon_buildblock_CUDA_CudaGibbsPenalty_H__ A base class with CUDA-accelerated implementation of the GibbsPenalty class.
Definition: CudaGibbsPenalty.h:50
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...
defines the stir::DiscretisedDensity class
defines the stir::Array class for multi-dimensional (numeric) arrays
Declaration of the stir::GibbsPenalty class.
A base class for Gibbs type penalties in the GeneralisedPrior hierarchy.
Definition: GibbsPenalty.h:98
some utilities for STIR and CUDA
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
This abstract class is the basis for all image representations.
Definition: DDSR2DReconstruction.h:44