{"blog_url":"https://aont.hateblo.jp/","url":"https://aont.hateblo.jp/entry/20110627/1309192561","author_name":"aont","provider_url":"https://hatena.blog","title":"OpenCL\u3067\u6d6e\u52d5\u5c0f\u6570\u306eatomic add\u3092\u3057\u305f\u3044","published":"2011-06-27 01:36:01","blog_title":"aont\u2019s diary","author_url":"https://blog.hatena.ne.jp/aont/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faont.hateblo.jp%2Fentry%2F20110627%2F1309192561\" title=\"OpenCL\u3067\u6d6e\u52d5\u5c0f\u6570\u306eatomic add\u3092\u3057\u305f\u3044 - aont\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"atomic add\u3068\u306f\u3001\u3042\u308b\u30e1\u30e2\u30ea\u9818\u57df\u306b\u8907\u6570\u30b9\u30ec\u30c3\u30c9\u304b\u3089\u6570\u5024\u3092\u52a0\u3048\u305f\u3044\u6642\u306b\u3001\u30a2\u30af\u30bb\u30b9\u306e\u30b3\u30f3\u30d5\u30ea\u30af\u30c8\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u6392\u4ed6\u5236\u5fa1\u3092\u884c\u3044\u6b63\u3057\u304f\u548c\u3092\u8a08\u7b97\u3059\u308b\u305f\u3081\u306e\u51e6\u7406\u306e\u3053\u3068\u3002CUDA\u3067double\u306eatomicAdd\u3092\u884c\u3046\u65b9\u6cd5\u306fCUDA C Programming Guide\u306b\u66f8\u3044\u3066\u3042\u308b\u3002CUDA Toolkit Documentation\u3092\u53c2\u7167\u3002 \u30b3\u30fc\u30c9\u3092\u3053\u3053\u306b\u5f15\u7528\u3059\u308b\u3002 __device__ double atomicAdd(double* address, double val) { unsigned long long int* address_as_ull = (unsigned long l\u2026","image_url":null,"height":"190","width":"100%","type":"rich","provider_name":"Hatena Blog","categories":[]}