curand.cc 262 字节
Newer Older
Y
Yu Yang 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#include <paddle/platform/dynload/curand.h>

namespace paddle {
namespace platform {
namespace dynload {

std::once_flag curand_dso_flag;
void *curand_dso_handle;

#define DEFINE_WRAP(__name) DynLoad__##__name __name

CURAND_RAND_ROUTINE_EACH(DEFINE_WRAP);
}
}
}