Skip to content

Commit

Permalink
Merge Pull Request #13418 from trilinos/Trilinos/master_merge_2024083…
Browse files Browse the repository at this point in the history
…0_175836

Automatically Merged using Trilinos Master Merge AutoTester
PR Title: b'Trilinos Master Merge PR Generator: Auto PR created to promote from master_merge_20240830_175836 branch to master'
PR Author: trilinos-autotester
  • Loading branch information
trilinos-autotester authored Aug 31, 2024
2 parents 2ad2602 + f424b7a commit b40a3bc
Show file tree
Hide file tree
Showing 83 changed files with 11,164 additions and 7,871 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
uses: github/codeql-action/init@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand All @@ -85,6 +85,6 @@ jobs:
make -j 2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
uses: github/codeql-action/analyze@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
with:
category: "/language:${{matrix.language}}"
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@883d8588e56d1753a8a58c1c86e88976f0c23449 # v3.26.3
uses: github/codeql-action/upload-sarif@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
with:
sarif_file: results.sarif
31 changes: 18 additions & 13 deletions packages/framework/ini-files/config-specs.ini

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureGRADGRAD(Intre
// because structured integration performs transformations within integrate(), to get a fairer comparison here we include the transformation calls.
fstIntegrateCall->start();
FunctionSpaceTools::HGRADtransformGRAD(unorientedTransformedGradValues, jacobianInverse, basisGradValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedGradValues, unorientedTransformedGradValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();

transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim) * (spaceDim - 1) * 2.0; // 2: one multiply, one add per (P,D) entry in the contraction.
FunctionSpaceTools::multiplyMeasure(transformedWeightedGradValues, cellMeasures, transformedGradValues);
Expand Down
6 changes: 6 additions & 0 deletions packages/intrepid2/assembly-examples/H1StandardAssembly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureH1(Intrepid2::
// because structured integration performs transformations within integrate(), to get a fairer comparison here we include the transformation calls.
fstIntegrateCall->start();
FunctionSpaceTools::HGRADtransformGRAD(unorientedTransformedGradValues, jacobianInverse, basisGradValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedGradValues, unorientedTransformedGradValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim) * (spaceDim - 1) * 2.0; // 2: one multiply, one add per (P,D) entry in the contraction.
FunctionSpaceTools::multiplyMeasure(transformedWeightedGradValues, cellMeasures, transformedGradValues);
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim); // multiply each entry of transformedGradValues: one flop for each.
Expand All @@ -163,8 +166,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureH1(Intrepid2::
ExecutionSpace().fence();

FunctionSpaceTools::HGRADtransformVALUE(unorientedTransformedBasisValues, basisValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedBasisValues, unorientedTransformedBasisValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
FunctionSpaceTools::multiplyMeasure(transformedWeightedBasisValues, cellMeasures, transformedBasisValues);
bool sumInto = true; // add the (value,value) integral to the (grad,grad) that we've already integrated
FunctionSpaceTools::integrate(cellStiffnessSubview, transformedBasisValues, transformedWeightedBasisValues, sumInto);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureHCURL(Intrepid
// because structured integration performs transformations within integrate(), to get a fairer comparison here we include the transformation calls.
fstIntegrateCall->start();
FunctionSpaceTools::HCURLtransformCURL(unorientedTransformedCurlValues, jacobian, jacobianDeterminant, basisCurlValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedCurlValues, unorientedTransformedCurlValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim) * (spaceDim - 1) * 2.0; // 2: one multiply, one add per (P,D) entry in the contraction.
FunctionSpaceTools::multiplyMeasure(transformedWeightedCurlValues, cellMeasures, transformedCurlValues);
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim); // multiply each entry of transformedCurlValues: one flop for each.
Expand All @@ -186,8 +189,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureHCURL(Intrepid
FunctionSpaceTools::integrate(cellStiffnessSubview, transformedCurlValues, transformedWeightedCurlValues);

FunctionSpaceTools::HCURLtransformVALUE(unorientedTransformedBasisValues, jacobianInverse, basisValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedBasisValues, unorientedTransformedBasisValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
FunctionSpaceTools::multiplyMeasure(transformedWeightedBasisValues, cellMeasures, transformedBasisValues);
bool sumInto = true; // add the (value,value) integral to the (curl,curl) that we've already integrated
FunctionSpaceTools::integrate(cellStiffnessSubview, transformedBasisValues, transformedWeightedBasisValues, sumInto);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureHDIV(Intrepid2
// because structured integration performs transformations within integrate(), to get a fairer comparison here we include the transformation calls.
fstIntegrateCall->start();
FunctionSpaceTools::HDIVtransformDIV(unorientedTransformedDivValues, jacobianDeterminant, basisDivValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedDivValues, unorientedTransformedDivValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim) * (spaceDim - 1) * 2.0; // 2: one multiply, one add per (P,D) entry in the contraction.
FunctionSpaceTools::multiplyMeasure(transformedWeightedDivValues, cellMeasures, transformedDivValues);
transformIntegrateFlopCount += double(numCellsInWorkset) * double(numFields) * double(numPoints) * double(spaceDim); // multiply each entry of transformedDivValues: one flop for each.
Expand All @@ -161,10 +164,12 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureHDIV(Intrepid2

FunctionSpaceTools::integrate(cellStiffnessSubview, transformedDivValues, transformedWeightedDivValues);
ExecutionSpace().fence();

FunctionSpaceTools::HDIVtransformVALUE(unorientedTransformedBasisValues, jacobian, jacobianDeterminant, basisValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedBasisValues, unorientedTransformedBasisValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
FunctionSpaceTools::multiplyMeasure(transformedWeightedBasisValues, cellMeasures, transformedBasisValues);
bool sumInto = true; // add the (value,value) integral to the (div,div) that we've already integrated
FunctionSpaceTools::integrate(cellStiffnessSubview, transformedBasisValues, transformedWeightedBasisValues, sumInto);
Expand Down
3 changes: 3 additions & 0 deletions packages/intrepid2/assembly-examples/HVOLStandardAssembly.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,11 @@ Intrepid2::ScalarView<Scalar,DeviceType> performStandardQuadratureHVOL(Intrepid2
auto cellStiffnessSubview = Kokkos::subview(cellStiffness, cellRange, Kokkos::ALL(), Kokkos::ALL());

FunctionSpaceTools::HVOLtransformVALUE(unorientedTransformedBasisValues, jacobianDeterminant, basisValues);
// we want to exclude orientation application in the core integration timing -- this time gets reported as "Other"
fstIntegrateCall->stop();
OrientationTools<DeviceType>::modifyBasisByOrientation(transformedBasisValues, unorientedTransformedBasisValues,
orientationsWorkset, basis.get());
fstIntegrateCall->start();
FunctionSpaceTools::multiplyMeasure(transformedWeightedBasisValues, cellMeasures, transformedBasisValues);
bool sumInto = true; // add the (value,value) integral to the (curl,curl) that we've already integrated
FunctionSpaceTools::integrate(cellStiffnessSubview, transformedBasisValues, transformedWeightedBasisValues, sumInto);
Expand Down
Loading

0 comments on commit b40a3bc

Please sign in to comment.