mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-22 01:29:35 +08:00
Check that it's possible to forward declare the hlaf type.
This commit is contained in:
parent
17b9a55d98
commit
373bb12dc6
@ -11,6 +11,11 @@
|
|||||||
|
|
||||||
#include <Eigen/src/Core/arch/CUDA/Half.h>
|
#include <Eigen/src/Core/arch/CUDA/Half.h>
|
||||||
|
|
||||||
|
// Make sure it's possible to forward declare Eigen::half
|
||||||
|
namespace Eigen {
|
||||||
|
struct half;
|
||||||
|
}
|
||||||
|
|
||||||
using Eigen::half;
|
using Eigen::half;
|
||||||
|
|
||||||
void test_conversion()
|
void test_conversion()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user