9void ParamsBuilder::add_unused_output_for_unsupporting_function(
const CPPType &type)
11 ResourceScope &scope = this->resource_scope();
12 void *buffer = scope.allocator().allocate_array(type, min_array_size_);
13 const GMutableSpan span{type, buffer, min_array_size_};
14 actual_params_.append_unchecked_as(std::in_place_type<GMutableSpan>, span);
15 if (!type.is_trivially_destructible) {
16 scope.add_destruct_call(
17 [&type, buffer,
mask = mask_]() { type.destruct_indices(buffer,
mask); });
ccl_device_inline float2 mask(const MaskType mask, const float2 a)