MCPcopy 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

518inline std::int32_t AllThreadsForTest() { return Context{}.Threads(); }
519
520inline DeviceOrd FstCU() { return DeviceOrd::CUDA(0); }
521
522// GPU device ordinal for distributed tests
523std::int32_t DistGpuIdx();

Callers 2

TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.68
TESTFunction · 0.68