mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
947dbed0aa
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;
|
|
}
|