MCPcopy Create free account
hub / github.com/boostorg/compute / rand_int

Function rand_int

example/sort_vector.cpp:22–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20namespace compute = boost::compute;
21
22int rand_int()
23{
24 return rand() % 100;
25}
26
27// this example demonstrates how to sort a vector of ints on the GPU
28int main()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected