You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to build Trilinos and Kokkos in order to run simulations on our local compute cluster.
For this purpose, I'm targeting the CUDA backend for the Ampere 80 GPU architecture.
I can compile Trilinos and Kokkos just fine as a stand-alone library, but when I try to build my simulation program against Trilinos/Kokkos the compilation fails with the following message(s):
I'm unsure if the half scalar type is something I have to define myself first, or if it should already be defined elsewhere. Scrolling up a few lines, there is the following typedef:
typedef Kokkos::Experimental::half_t Half;
However, this typedef only specifies Half and not half, so it might be a typo? Either way, by exchanging half for Half my compilation problem is resolved. Is this a correct approach to take?
For context, these are the settings used for configuring Trilinos (and Kokkos):
I am using the nvcc compiler from CUDA v.12.1.1 and GCC v.12.3.0.
The Trilinos version I am compiling for is v.15.1.1, which appears to be using Kokkos v.4.2.1.
The text was updated successfully, but these errors were encountered:
I am attempting to build Trilinos and Kokkos in order to run simulations on our local compute cluster.
For this purpose, I'm targeting the CUDA backend for the Ampere 80 GPU architecture.
I can compile Trilinos and Kokkos just fine as a stand-alone library, but when I try to build my simulation program against Trilinos/Kokkos the compilation fails with the following message(s):
I'm unsure if the
half
scalar type is something I have to define myself first, or if it should already be defined elsewhere. Scrolling up a few lines, there is the following typedef:However, this typedef only specifies
Half
and nothalf
, so it might be a typo? Either way, by exchanginghalf
forHalf
my compilation problem is resolved. Is this a correct approach to take?For context, these are the settings used for configuring Trilinos (and Kokkos):
I am using the
nvcc
compiler from CUDA v.12.1.1 and GCC v.12.3.0.The Trilinos version I am compiling for is v.15.1.1, which appears to be using Kokkos v.4.2.1.
The text was updated successfully, but these errors were encountered: