Specialized Template Function Pennylane::Util::Constant::getCompilerVersion< Compiler::NVHPC >¶
Defined in File Macros.hpp
Function Documentation¶
-
template<>
constexpr auto Pennylane::Util::Constant::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_1a80d35c6014d516d8087ffb55719f5939
Download Python script
Download Notebook
View on GitHub