    

 ## On this page

  

 

 # vss::simulation::AutomaticBatching Struct Reference

 Last update: 16.07.2025 

Automatic batching: the number of batches on rays and on rx channels is computed by the system, taking into account the specified constraints. [More...](a00698.xhtml#details)

## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

int32 [max\_number\_of\_ray\_batches](a00698.xhtml#a9b4158e52e07f95a4470f896079fdb2d) = 1 double [gpu\_memory\_quota](a00698.xhtml#a13bce1150714582c1224822348c6f7b8) = 2 map&lt; string, double &gt; [gpu\_quotas](a00698.xhtml#ad5f7c92a370197c4a63f9d69df164822) = 3 <a id="details" name="details"></a>## Detailed Description

Automatic batching: the number of batches on rays and on rx channels is computed by the system, taking into account the specified constraints.



## Member Data Documentation

<a id="a13bce1150714582c1224822348c6f7b8"></a>## [◆ ](#a13bce1150714582c1224822348c6f7b8)gpu\_memory\_quota

 double vss::simulation::AutomaticBatching::gpu\_memory\_quota = 2

Constraint 2: max fraction (quota) of the total GPU memory that can be used. Default GPU with index 0 will be used.





<a id="ad5f7c92a370197c4a63f9d69df164822"></a>## [◆ ](#ad5f7c92a370197c4a63f9d69df164822)gpu\_quotas

 map&lt;string, double&gt; vss::simulation::AutomaticBatching::gpu\_quotas = 3

Constraint 2: max fraction (quota) of the total memory of the specified GPU that can be used.

Key \[string\]: The GPU name. Value \[double\]: The max fraction of the GPU memory that can be used.

NoteThe GPU names must correspond to the GPU identifier names specified in the deploy parameters. 



<a id="a9b4158e52e07f95a4470f896079fdb2d"></a>## [◆ ](#a9b4158e52e07f95a4470f896079fdb2d)max\_number\_of\_ray\_batches

 int32 vss::simulation::AutomaticBatching::max\_number\_of\_ray\_batches = 1

Constraint 1: upper bound on the automatically computed number of ray batches.





---

The documentation for this struct was generated from the following file:- simulation\_parameters.proto