[PATCH] D144911: adding bf16 support to NVPTX

Artem Belevich via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 2 10:18:30 PDT 2023


tra added a comment.

In D144911#4389187 <https://reviews.llvm.org/D144911#4389187>, @manishucsd wrote:

> I fail to compile this patch. Please find the compilation error below:
>
>   [build] ./llvm-project/llvm/lib/Target/NVPTX/NVPTXInstrInfo.td:1117:40: error: Variable not defined: 'hasPTX70'
>   [build]                 Requires<[useFP16Math, hasPTX70, hasSM80, Pred]>;
>   [build]                                        ^

You need to update your patch. Recent LLVM changes have changed `hasPTXab` -> `hasPTX<ab>`, and similarly `hasSMab` > `hasSM<ab>`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144911/new/

https://reviews.llvm.org/D144911



More information about the cfe-commits mailing list