MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_release_random_engine

Function af_release_random_engine

src/api/c/random.cpp:336–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336af_err af_release_random_engine(af_random_engine engineHandle) {
337 try {
338 AF_CHECK(af_init());
339 delete getRandomEngine(engineHandle);
340 }
341 CATCHALL;
342 return AF_SUCCESS;
343}
344
345af_err af_randu(af_array *out, const unsigned ndims, const dim_t *const dims,
346 const af_dtype type) {

Callers 2

~randomEngineMethod · 0.50
random.cppFile · 0.50

Calls 2

getRandomEngineFunction · 0.85
af_initFunction · 0.70

Tested by

no test coverage detected