Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
clang を使用して .cu (Cuda) ファイルをコンパイルしようとすると、この問題に直面しています。偶数threadId.x とblockDim.x宣言されていません。
threadId.x
blockDim.x
誰でも、clang を使用してコンパイルするためにどのヘッダーを含めるかを手伝ってもらえますか。nvcc を使用したコンパイルは問題なく動作します。