Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
<library file="ReadMath.cc,WriteMath.cc,SealModule.cc" name="DataFormatsMath_test">
  <use name="FWCore/Framework"/>
  <use name="DataFormats/Common"/>
  <flags EDM_PLUGIN="1"/>
</library>

<use name="rootmath"/>
<use name="rootgraphics"/>
<use name="DataFormats/Math"/>
<bin file="Matrices_t.cpp" name="DataFormatsMatrices_t">
</bin>

<bin file="ProjectMatrix_t.cpp" name="DataFormatsProjectMatrix_t">
</bin>

<bin file="FastMath_t.cpp" name="DataFormatsFastMath_t">
  <flags CXXFLAGS="-Wno-error=format -Wno-format -Wno-format-contains-nul"/>
  <flags REM_CXXFLAGS="-Wformat -ansi"/>
  <flags REM_CXXFLAGS="-Wformat-contains-nul"/>
</bin>

<bin file="testApproximations.cpp" name="testMathApproximations">
  <flags CXXFLAGS="-Wno-error=format -Wno-format -Wno-format-contains-nul"/>
  <flags REM_CXXFLAGS="-Wformat"/>
  <flags REM_CXXFLAGS="-Wformat-contains-nul"/>
  <flags REM_CXXFLAGS="-ansi"/>
</bin>

<bin file="testApproxMath.cpp" name="testMathApproxMath">
  <flags CXXFLAGS="-Wno-error=format -Wno-format -Wno-format-contains-nul"/>
  <flags REM_CXXFLAGS="-Wformat"/>
  <flags REM_CXXFLAGS="-Wformat-contains-nul"/>
  <flags REM_CXXFLAGS="-ansi"/>
</bin>

<release name="!.*ICC_X.*">
  <bin file="ExtVec_t.cpp" name="DataFormatsExtVec_t">
  <use name="ofast-flag"/>
</bin>
</release>


<bin file="SSEVec_t.cpp" name="DataFormatsSSEVec_t">
  <use name="ofast-flag"/> 
</bin>

<bin file="crossV4_t.cpp" name="DataFormatscrossV4_t">
  <use name="ofast-flag"/>
</bin>

<bin file="sign_t.cpp" name="DataFormatsSign_t">
</bin>

<bin file="eta_t.cpp" name="DataFormatsEta_t">
</bin>

<bin file="arc.cpp" name="DataFormatsAsin_t">
</bin>

<bin file="testAtan2.cpp">
  <flags CXXFLAGS="-fwrapv"/>
</bin>

<bin file="testAtan2.cpp" name="testAtan2FastMath">
  <use name="ofast-flag"/>
  <flags CXXFLAGS="-fwrapv"/>
</bin>

<bin file="testAtan2.cpp" name="testAtan2VDT">
  <use name="vdt"/>
  <flags CXXFLAGS="-fwrapv"/>
</bin>

<bin file="deltaR_t.cpp" name="DataFormatsDeltaR_t">
  <flags CXXFLAGS="-Wno-error=format -Wno-format -Wno-format-contains-nul"/>
  <flags REM_CXXFLAGS="-Wformat"/>
  <flags REM_CXXFLAGS="-Wformat-contains-nul"/>
  <flags REM_CXXFLAGS="-ansi"/>
</bin>

<bin file="Similarity_t.cpp" name="DataFormatsSimilarity_t">
</bin>

<bin file="Similarity_t.cpp" name="DataFormatsSimilarityFast_t">
  <use name="ofast-flag"/>
</bin>

<bin file="MulSymMatrix_t.cpp" name="DataFormatsMulSymMatrix_t">
</bin>

<bin file="CholeskyInvert_t.cpp" name="CholeskyInvert_t">
  <flags CXXFLAGS="-O3"/>
</bin>

<bin file="testGraph.cpp">
</bin>

<bin name="testDataFormatsMathPacking" file="testMiniFloat.cpp,testlogintpack.cpp,testRunner.cpp">
  <use name="cppunit"/>
</bin>

<iftool name="cuda-gcc-support">
  <bin file="cudaAtan2Test.cu" name="DFM_Atan2">
    <use name="cuda"/>
    <use name="vdt_headers"/>
    <use name="HeterogeneousCore/CUDAUtilities"/>
    <flags CUDA_FLAGS="--expt-relaxed-constexpr"/>
    <flags CXXFLAGS="-O3 -fwrapv"/>
  </bin>

  <bin file="cudaMathTest.cu" name="DFM_Math">
    <use name="cuda"/>
    <use name="vdt_headers"/>
    <use name="HeterogeneousCore/CUDAUtilities"/>
    <flags CUDA_FLAGS="--expt-relaxed-constexpr"/>
    <flags CXXFLAGS="-O3 -fwrapv"/>
  </bin>

  <bin file="cudaMathTest.cu" name="DFM_MathRepr">
    <use name="cuda"/>
    <use name="vdt_headers"/>
    <use name="HeterogeneousCore/CUDAUtilities"/>
    <flags CUDA_FLAGS="--expt-relaxed-constexpr -fmad=false -ftz=false -prec-div=true -prec-sqrt=true"/>
    <flags CXXFLAGS="-ffp-contract=off"/>
  </bin>

  <bin file="CholeskyInvert_t.cu" name="CholeskyInvertOnGPU_t">
    <use name="cuda"/>
    <use name="HeterogeneousCore/CUDAUtilities"/>
    <flags CUDA_FLAGS="-w"/>
  </bin>

  <bin file="simpleCholeskyTest.cu">
    <use name="cuda"/>
    <use name="HeterogeneousCore/CUDAUtilities"/>
    <flags CUDA_FLAGS="-w"/>
  </bin>

</iftool>