<commit_before>#include "itkCudaFDKBackProjectionImageFilter.h"
#include "itkCudaUtilities.hcu"
#include "itkCudaFDKBackProjectionImageFilter.hcu"

#include <itkImageRegionConstIterator.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <itkLinearInterpolateImageFunction.h>
#include <itkMacro.h>

namespace itk
{

CudaFDKBackProjectionImageFilter
::CudaFDKBackProjectionImageFilter()
{
  m_DeviceVolume     = NULL;
  m_DeviceProjection = NULL;
  m_DeviceMatrix     = NULL;
}

void
CudaFDKBackProjectionImageFilter
::InitDevice()
{
  // Dimension arguments in CUDA format
  m_VolumeDimension[0] = this->GetOutput()->GetRequestedRegion().GetSize()[0];
  m_VolumeDimension[1] = this->GetOutput()->GetRequestedRegion().GetSize()[1];
  m_VolumeDimension[2] = this->GetOutput()->GetRequestedRegion().GetSize()[2];
DD(m_VolumeDimension[0])
DD(m_VolumeDimension[1])
DD(m_VolumeDimension[2])

  m_ProjectionDimension[0] = this->GetInput(1)->GetRequestedRegion().GetSize()[0];
  m_ProjectionDimension[1] = this->GetInput(1)->GetRequestedRegion().GetSize()[1];

  // Cuda init
  std::vector<int> devices = GetListOfCudaDevices();
  if(devices.size()>1)<commit_msg>DD comment deleted m_VolumeDimension and InitDevice<commit_after>#include "itkCudaFDKBackProjectionImageFilter.h"
#include "itkCudaUtilities.hcu"
#include "itkCudaFDKBackProjectionImageFilter.hcu"

#include <itkImageRegionConstIterator.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <itkLinearInterpolateImageFunction.h>
#include <itkMacro.h>

namespace itk
{

CudaFDKBackProjectionImageFilter
::CudaFDKBackProjectionImageFilter()
{
  m_DeviceVolume     = NULL;
  m_DeviceProjection = NULL;
  m_DeviceMatrix     = NULL;
}

void
CudaFDKBackProjectionImageFilter
::InitDevice()
{
  // Dimension arguments in CUDA format
  m_VolumeDimension[0] = this->GetOutput()->GetRequestedRegion().GetSize()[0];
  m_VolumeDimension[1] = this->GetOutput()->GetRequestedRegion().GetSize()[1];
  m_VolumeDimension[2] = this->GetOutput()->GetRequestedRegion().GetSize()[2];

  m_ProjectionDimension[0] = this->GetInput(1)->GetRequestedRegion().GetSize()[0];
  m_ProjectionDimension[1] = this->GetInput(1)->GetRequestedRegion().GetSize()[1];

  // Cuda init
  std::vector<int> devices = GetListOfCudaDevices();
  if(devices.size()>1)
{'fraction_non_alphanumeric': 0.1384143670608848, 'fraction_numerical': 0.012702584318878668, 'mean_word_length': 7.684410646387833, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3298436', 'n_tokens_mistral': 788, 'n_tokens_neox': 796, 'n_words': 103}