[ 原始碼: cccl ]
套件:libcu++-dev(2.2.0-1)
試製(Experimental)套件
警告:這個套件來自於 experimental 發行版。這表示它很有可能表現出不穩定或者出現 bug ,甚至是導致資料損失。請務必在使用之前查閱 changelog 以及其他潛在的文件。
NVIDIA C++ Standard Library
libcu++ provides a heterogeneous implementation of the C++ Standard Library that can be used in and between CPU and GPU code.
Using libcu++ is as simple as using the C++ Standard Library. All that is needed is adding 'cuda/std/' to the start of the Standard Library includes and 'cuda::' before any uses of 'std::':
* #include <cuda/std/atomic> * cuda::std::atomic<int> x;