MCPcopy Create free account
hub / github.com/blender/cycles / device_kernel_mask_as_string

Function device_kernel_mask_as_string

src/device/kernel.cpp:197–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

195}
196
197string device_kernel_mask_as_string(DeviceKernelMask mask)
198{
199 string str;
200
201 for (uint64_t i = 0; i < mask.size(); i++) {
202 if (mask.test(i)) {
203 if (!str.empty()) {
204 str += " ";
205 }
206 str += device_kernel_as_string((DeviceKernel)i);
207 }
208 }
209
210 return str;
211}
212
213bool DeviceKernelMask::operator<(const DeviceKernelMask &other) const
214{

Callers 2

~DeviceQueueMethod · 0.85
debug_active_kernelsMethod · 0.85

Calls 4

device_kernel_as_stringFunction · 0.85
testMethod · 0.80
sizeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected