Rename *Indeces variables and parameters to *Indices
The plural of index is indexes or indices, the latter seems to be more common in technical contexts.
This commit is contained in:
parent
e6473a6edc
commit
4968fb8c02
5 changed files with 21 additions and 21 deletions
|
|
@ -218,10 +218,10 @@ Back to `examples list <#simple-examples>`_.
|
|||
// In this case we select device 0, and for queues, one queue from familyIndex 0
|
||||
// and one queue from familyIndex 2
|
||||
uint32_t deviceIndex(0);
|
||||
std::vector<uint32_t> familyIndeces = {0, 2};
|
||||
std::vector<uint32_t> familyIndices = {0, 2};
|
||||
|
||||
// We create a manager with device index, and queues by queue family index
|
||||
kp::Manager mgr(deviceIndex, familyIndeces);
|
||||
kp::Manager mgr(deviceIndex, familyIndices);
|
||||
|
||||
// We need to create explicit sequences with their respective queues
|
||||
// The second parameter is the index in the familyIndex array which is relative
|
||||
|
|
|
|||
|
|
@ -189,10 +189,10 @@ You will want to keep track of the indices you initialize your manager, as you w
|
|||
// In this case we select device 0, and for queues, one queue from familyIndex 0
|
||||
// and one queue from familyIndex 2
|
||||
uint32_t deviceIndex(0);
|
||||
std::vector<uint32_t> familyIndeces = {0, 2};
|
||||
std::vector<uint32_t> familyIndices = {0, 2};
|
||||
|
||||
// We create a manager with device index, and queues by queue family index
|
||||
kp::Manager mgr(deviceIndex, familyIndeces);
|
||||
kp::Manager mgr(deviceIndex, familyIndices);
|
||||
|
||||
We are now able to create sequences with a particular queue.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue