mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
Any target that might need to link to hip code needs the `hip::device` target
8 lines
113 B
C++
8 lines
113 B
C++
|
|
#include <type_traits>
|
|
|
|
int static_cxx_func(int x)
|
|
{
|
|
return x * x + std::integral_constant<int, 14>::value;
|
|
}
|