Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dmlc/xgboost
/ FstCU
Function
FstCU
tests/cpp/helpers.h:520–520 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
518
inline std::int32_t AllThreadsForTest() { return Context{}.Threads(); }
519
520
inline DeviceOrd FstCU() { return DeviceOrd::CUDA(0); }
521
522
// GPU device ordinal for distributed tests
523
std::int32_t DistGpuIdx();
Callers
2
TEST
Function · 0.85
TEST
Function · 0.85
Calls
no outgoing calls
Tested by
2
TEST
Function · 0.68
TEST
Function · 0.68