Specialized Template Function Pennylane::Util::getCompilerVersion< Compiler::NVHPC >
Function Documentation
-
template<>
constexpr auto Pennylane::Util::getCompilerVersion<Compiler::NVHPC>() -> std::string_view
Create version string for NVHPC (C/C++ compilers without CUDA from NVIDIA).
This function raises an error when instantiated (invoked) if a compiler does not define macros (i.e. other than NVHPC).
api/function_Macros_8hpp_1a31db07761e2e8a9ed5912c7fa14c0139