Select Git revision
dp_bsn_sync_scheduler.vhd
-
Eric Kooistra authoredEric Kooistra authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
SubbandProc.h 1.37 KiB
//# SubbandProc.h
//#
//# Copyright (C) 2013 ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it and/or
//# modify it under the terms of the GNU General Public License as published
//# by the Free Software Foundation, either version 3 of the License, or
//# (at your option) any later version.
//#
//# The LOFAR software suite is distributed in the hope that it will be useful,
//# but WITHOUT ANY WARRANTY; without even the implied warranty of
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//# GNU General Public License for more details.
//#
//# You should have received a copy of the GNU General Public License along
//# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>.
//#
//# $Id$
// \file
// Include the right GPU API include with our options.
#ifndef LOFAR_GPUPROC_SUBBAND_PROC_H
#define LOFAR_GPUPROC_SUBBAND_PROC_H
#if defined (USE_CUDA) && defined (USE_OPENCL)
# error "Either CUDA or OpenCL must be enabled, not both"
#endif
#if defined (USE_CUDA)
# include <GPUProc/cuda/SubbandProcs/SubbandProc.h>
#elif defined (USE_OPENCL)
# include <GPUProc/opencl/SubbandProcs/SubbandProc.h>
#else
# error "Either CUDA or OpenCL must be enabled, not neither"
#endif
#endif