| 100 | } |
| 101 | |
| 102 | void CudaGPU::SetRandSeed(unsigned seed) { |
| 103 | CHECK(ctx_.curand_generator); |
| 104 | CURAND_CHECK(curandSetPseudoRandomGeneratorSeed(ctx_.curand_generator, seed)); |
| 105 | } |
| 106 | |
| 107 | void CudaGPU::DoExec(function<void(Context*)>&& fn, int executor) { fn(&ctx_); } |
| 108 |
nothing calls this directly
no outgoing calls
no test coverage detected