| | | | --- | --- | | Bugzilla Link | [48228](https://llvm.org/bz48228) | | Resolution | FIXED | | Resolved on | Dec 09, 2020 09:48 | | Version | 11.0 | | OS | Linux | | Blocks | llvm/llvm-project#47144 | | CC | @bmanga,@jdoerfert,@Artem-B,@tstellar | | Fixed by commit(s) | 9a465057a64dba8a8614424d26136f5c0452bcc3 43267929423bf768bbbcc65e47a07e37af7f4e22 aa29049404e 59012b685fd | ## Extended Description Trying to compile the following cuda code: ```cuda __device__ void foo() {} int main(){} ``` Works in C++17 mode, fails in C++20 mode with a series of errors about `unknown type name '__device__'` from the `cuda_wrappers` headers.