MCPcopy Create free account
hub / github.com/clMathLibraries/clFFT / set_input_precallback

Method set_input_precallback

src/tests/fftw_transform.h:460–475  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 }
459
460 void set_input_precallback()
461 {
462 //precallback user data
463 buffer<T> userdata( input.number_of_dimensions(),
464 input.lengths(),
465 input.strides(),
466 input.batch_size(),
467 input.distance(),
468 layout::real ,
469 CLFFT_INPLACE
470 );
471
472 userdata.set_all_to_random_data(_lengths[0], 10);
473
474 input *= userdata;
475 }
476
477 void set_input_precallback_special()
478 {

Callers

nothing calls this directly

Calls 6

number_of_dimensionsMethod · 0.80
lengthsMethod · 0.80
stridesMethod · 0.80
batch_sizeMethod · 0.80
distanceMethod · 0.80

Tested by

no test coverage detected