Cuda extension error

I tried to compile the example of cuda extension but failed. Here is part of the log:

Could anyone do me a favour?

The example of cuda extension is https://github.com/pytorch/extension-cpp

I installed pytorch from source and turned NCCL off. Does that matter?