jhuber6 added a comment.

@tra would it be possible to go to the earlier version that simply duplicated a 
slight amount of logic to introduce the new and separate attribute 
`nvptx_kernel`? Overloading CUDA's `device` attribute is problematic because 
it's used and checked in several different contexts. I'd like to be able to 
simplify this code 
https://github.com/llvm/llvm-project/blob/main/libc/startup/gpu/nvptx/start.cpp.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D140226

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to