aslDataUtilities.h
Go to the documentation of this file.
/*
* Advanced Simulation Library <http://asl.org.il>
*
* Copyright 2015 Avtech Scientific <http://avtechscientific.com>
*
*
* This file is part of Advanced Simulation Library (ASL).
*
* ASL is free software: you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, version 3 of the License.
*
* ASL 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 Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with ASL. If not, see <http://www.gnu.org/licenses/>.
*
*/
#ifndef ASLDATAUTILITIES_H
#define ASLDATAUTILITIES_H
#include "aslDataWrapper.h"
#include "acl/aclMath/aclVectorOfElementsDef.h"
namespace acl
{
class Kernel;
}
namespace asl
{
acl::VectorOfElements uploadToLocalMem(AbstractData & source,
const AVec<int> & size,
unsigned int groupSize,
acl::Kernel & kernel);
SPDataWrapperACL generateSubData(SPDataWrapperACL d, AVec<int> a, AVec<int> b);
}
#endif // ASLDATAUTILITIES_H
acl::Kernel
OpenCl Kernel generator.
Definition: aclKernel.h:49
acl::VectorOfElements
The class represents several Element.
Definition: aclVectorOfElementsDef.h:92
asl::AVec< int >
asl::AbstractData
Definition: aslDataWrapper.h:53
asl::generateSubData
SPDataWrapperACL generateSubData(SPDataWrapperACL d, AVec< int > a, AVec< int > b)
generates DataWraper with points placed inside a widow
asl::uploadToLocalMem
acl::VectorOfElements uploadToLocalMem(AbstractData &source, const AVec< int > &size, unsigned int groupSize, acl::Kernel &kernel)
acl
Advanced Computational Language.
Definition: acl.h:41
asl
Advanced Simulation Library.
Definition: aslDataInc.h:31
asl::SPDataWrapperACL
std::shared_ptr< DataWrapperACL > SPDataWrapperACL
Definition: aslGenerators.h:56
aslDataWrapper.h