提交 bdc1bde9 authored 作者: khaotik's avatar khaotik 提交者: Adam Becker

make __ldg backward compat

上级 799714aa
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
// This also gives a relative order for NaNs, but that's ok, as they // This also gives a relative order for NaNs, but that's ok, as they
// will all be adjacent // will all be adjacent
#if __CUDA_ARCH__ < 350
#define __ldg(ptr) (*(ptr))
#endif
template <typename T> template <typename T>
struct RadixConfig { struct RadixConfig {
typedef T RadixType; typedef T RadixType;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论