fatal error: third_party/gpus/cuda/include/cuda_fp16.h: 没有那个文件或目录
作者:互联网
打开目录 "tensorflow/include/tensorflow/core/util/gpu_kernel_helper.h"
然后编辑,把
#include "third_party/gpus/cuda/include/cuda_fp16.h"
替换成
#include "cuda_fp16.h"
然后,再编辑 "tensorflow/include/tensorflow/core/util/gpu_device_functions.h",把
#include "third_party/gpus/cuda/include/cuComplex.h"
#include "third_party/gpus/cuda/include/cuda.h"
替换成
#include "cuComplex.h"
#include "cuda.h"
标签:party,third,fp16,cuda,tensorflow,gpus,include 来源: https://www.cnblogs.com/IamIron-Man/p/15967138.html