From dcc1e3ec1456b086f8343cfc34aa78ec92ff0756 Mon Sep 17 00:00:00 2001 From: Jeremy L Thompson Date: Thu, 30 Sep 2021 17:00:18 -0600 Subject: [PATCH] occa - add warning, OCCA backend is experimental --- backends/occa/ceed-occa.cpp | 2 ++ doc/sphinx/source/releasenotes.md | 1 + 2 files changed, 3 insertions(+) diff --git a/backends/occa/ceed-occa.cpp b/backends/occa/ceed-occa.cpp index 6a707104bc..d7cb072892 100644 --- a/backends/occa/ceed-occa.cpp +++ b/backends/occa/ceed-occa.cpp @@ -14,6 +14,8 @@ // software, applications, hardware, advanced system engineering and early // testbed platforms, in support of the nation's exascale computing imperative. + #warning "libCEED OCCA backend is experimental; for best performance, use device native backends" + #include #include #include diff --git a/doc/sphinx/source/releasenotes.md b/doc/sphinx/source/releasenotes.md index 4cc6d51822..8e812e5b52 100644 --- a/doc/sphinx/source/releasenotes.md +++ b/doc/sphinx/source/releasenotes.md @@ -14,6 +14,7 @@ for each release of libCEED. - Clarify and document conditions where `CeedQFunction` and `CeedOperator` become immutable and no further fields or suboperators can be added. - Add {c:func} `CeedOperatorLinearAssembleQFunctionBuildOrUpdate` to reduce object creation overhead in assembly of CeedOperator preconditioning ingredients. - Promote {c:func} `CeedOperatorCheckReady`to the public API to facilitate interactive interfaces. +- Warning added when compiling OCCA backend to alert users that this backend is experimental. ### New features