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

Method set_output_postcallback

src/tests/fftw_transform.h:443–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441 }
442
443 void set_output_postcallback()
444 {
445 //postcallback user data
446 buffer<T> userdata( output.number_of_dimensions(),
447 output.lengths(),
448 output.strides(),
449 output.batch_size(),
450 output.distance(),
451 layout::real ,
452 CLFFT_INPLACE
453 );
454
455 userdata.set_all_to_random_data(_lengths[0], 10);
456
457 output *= userdata;
458 }
459
460 void set_input_precallback()
461 {

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