Preliminary HIP bfloat16 GPU support.

This commit is contained in:
Rohit Santhanam
2021-10-27 18:36:45 +00:00
committed by Antonio Sánchez
parent 40bbe8a4d0
commit 48e40b22bf
4 changed files with 621 additions and 17 deletions

View File

@@ -468,6 +468,8 @@
#include <hip/hip_vector_types.h>
#define EIGEN_HAS_HIP_FP16
#include <hip/hip_fp16.h>
#define EIGEN_HAS_HIP_BF16
#include <hip/hip_bfloat16.h>
#endif