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

Function computeDims

src/backend/opencl/fft.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37};
38
39void computeDims(size_t rdims[AF_MAX_DIMS], const dim4 &idims) {
40 for (int i = 0; i < AF_MAX_DIMS; i++) {
41 rdims[i] = static_cast<size_t>(idims[i]);
42 }
43}
44
45//(currently) true is in clFFT if length is a power of 2,3,5
46inline bool isSupLen(dim_t length) {

Callers 3

fft_inplaceFunction · 0.70
fft_r2cFunction · 0.70
fft_c2rFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected