MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / execute

Method execute

src/Bullet3OpenCL/ParallelPrimitives/b3FillCL.cpp:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41void b3FillCL::execute(b3OpenCLArray<float>& src, const float value, int n, int offset)
42{
43 b3Assert(n > 0);
44
45 {
46 b3LauncherCL launcher(m_commandQueue, m_fillFloatKernel, "m_fillFloatKernel");
47 launcher.setBuffer(src.getBufferCL());
48 launcher.setConst(n);
49 launcher.setConst(value);
50 launcher.setConst(offset);
51
52 launcher.launch1D(n);
53 }
54}
55
56void b3FillCL::execute(b3OpenCLArray<int>& src, const int value, int n, int offset)
57{

Callers 13

TimedSortFunction · 0.45
fillIntTestFunction · 0.45
boundSearchTestFunction · 0.45
prefixScanTestFunction · 0.45
radixSortTestFunction · 0.45
castRaysMethod · 0.45
buildMethod · 0.45
solveContactsMethod · 0.45
solveContactsMethod · 0.45
solveGroupMixedMethod · 0.45

Calls 6

b3BufferInfoCLClass · 0.85
setBufferMethod · 0.80
getBufferCLMethod · 0.80
setConstMethod · 0.80
launch1DMethod · 0.80
setBuffersMethod · 0.80

Tested by

no test coverage detected