As far as I know, I can use C ++ templates in CUDA device code. So, if I use a map to create a dictionary, will the operation of adding new values be atomic?
I want to count the number of occurrences of certain values, i.e. create a codebook with code probabilities.
thank
Macs
You cannot use STL in device code. You can check thrust for similar functionality (in particular, check out the experimental namespace).
, CUDA C ++, , , ( Fermi).
, atomicAdd() , CUDA .
, STL cuda? , . . .
Source: https://habr.com/ru/post/1734783/More articles:Shutting down and reconnecting a socket - How to avoid a long wait? - pythonreplace slashes in .Net - .netDifferent durations for CSS properties in jQuery animate () - jqueryRuby on Rails Forms: how to create a CheckBox (or List) table - ruby | fooobar.comMask for asp text field using jquery - jqueryKeyboard shortcut for opening a popup in visual studio - visual-studio-2008https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1734785/use-mercurial-api-to-get-changes-to-a-repository-for-a-given-changeset&usg=ALkJrhjrvDZCJ_jcXMbdBHtuOMnvmDxstwПостроение серии 2D черно-белых графиков в MATLAB - matrixMySQL deletes from three tables - sqlNeed for Base64 Decode This String - phpAll Articles