star-uvm

Spatial structuring of unstructured volumetric meshes
git clone git://git.meso-star.fr/star-uvm.git
Log | Files | Refs | README | LICENSE

suvm_backend.h (1189B)


      1 /* Copyright (C) 2020-2023 |Méso|Star> (contact@meso-star.com)
      2  *
      3  * This program is free software: you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License as published by
      5  * the Free Software Foundation, either version 3 of the License, or
      6  * (at your option) any later version.
      7  *
      8  * This program is distributed in the hope that it will be useful,
      9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11  * GNU General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU General Public License
     14  * along with this program. If not, see <http://www.gnu.org/licenses/>. */
     15 
     16 #ifndef SUVM_BACKEND_H
     17 #define SUVM_BACKEND_H
     18 
     19 #include <rsys/rsys.h> /* COMPILER_<CL|GCC> */
     20 
     21 #ifdef COMPILER_GCC
     22   /* Disable the "ISO C restricts enumerator values to range of 'int'" compiler
     23    * warning in rtcore_common.h, line 293 (RTC_FEATURE_FLAG_ALL = 0xffffffff) */
     24   #pragma GCC diagnostic push
     25   #pragma GCC diagnostic ignored "-Wpedantic"
     26 #endif
     27 
     28 #include <embree4/rtcore.h>
     29 
     30 #ifdef COMPILER_GCC
     31   #pragma GCC diagnostic pop
     32 #endif
     33 
     34 #endif /* SUVM_BACKEND_H */