【发布时间】:2021-04-07 12:46:05
【问题描述】:
特定警告的 NVCC 代码在哪里列出?
查看this one 等其他问题给出了使用-Xcudafe "--diag_suppress=xxx 抑制警告“xxx”的答案,并链接到可能的警告列表here。
但是,当我收到警告时
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h(94): warning: __host__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration
和
/usr/include/eigen3/Eigen/src/Core/util/XprHelper.h(94): warning: __device__ annotation is ignored on a function("no_assignment_operator") that is explicitly defaulted on its first declaration
我在list 中找不到该类型。有人可以将我指向它所在的页面,以便我找到它的代码/名称吗?我在documentation for NVCC里没找到。
【问题讨论】: