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

Method buffer

src/tests/buffer.h:112–134  ·  view source on GitHub ↗

/

Source from the content-addressed store, hash-verified

110public:
111 /*****************************************************/
112 buffer( const size_t dimensions_in,
113 const size_t* lengths_in,
114 const size_t* strides_in,
115 const size_t batch_size_in,
116 const size_t distance_in,
117 const layout::buffer_layout_t layout_in,
118 const clfftResultLocation placeness_in
119 )
120 : _number_of_dimensions( dimensions_in )
121 , _batch_size( batch_size_in )
122 , _distance( distance_in )
123 , _layout( layout_in )
124 , _placeness( placeness_in )
125 , _lengths()
126 , _strides()
127 , _the_buffers()
128 {
129 initialize_lengths(lengths_in);
130 initialize_strides(strides_in);
131 initialize_distance(distance_in);
132 create_buffer_memory();
133 clear();
134 }
135
136 /*****************************************************/
137 ~buffer()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected