Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:07:23

0001 //
0002 // MIT License
0003 // Copyright (c) 2020 Jonathan R. Madsen
0004 // Permission is hereby granted, free of charge, to any person obtaining a copy
0005 // of this software and associated documentation files (the "Software"), to deal
0006 // in the Software without restriction, including without limitation the rights
0007 // to use, copy, modify, merge, publish, distribute, sublicense, and
0008 // copies of the Software, and to permit persons to whom the Software is
0009 // furnished to do so, subject to the following conditions:
0010 // The above copyright notice and this permission notice shall be included in
0011 // all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED
0012 // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
0013 // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
0014 // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
0015 // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
0016 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
0017 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0018 //
0019 // ---------------------------------------------------------------
0020 // Tasking class header file
0021 //
0022 // Class Description:
0023 //
0024 // This file wraps a TBB task_group into a TaskGroup
0025 //
0026 // ---------------------------------------------------------------
0027 // Author: Jonathan Madsen (Jun 21st 2018)
0028 // ---------------------------------------------------------------
0029 
0030 #pragma once
0031 
0032 #include "PTL/TaskGroup.hh"
0033 
0034 namespace PTL
0035 {
0036 // in new version, TaskGroup handles TBB
0037 template <typename Tp, typename Arg = Tp>
0038 using TBBTaskGroup = TaskGroup<Tp, Arg>;
0039 
0040 }  // namespace PTL