Efficient implementation of arrays of structures on SIMT and SIMD architectures
AssigneeNVIDIA Corporation
InventorsBrian Fahs, John R. Nickolls, Henry Packard Moreton, Brett W. Coon
Life of this patent
Estimating the term…
Loading patent…
AssigneeNVIDIA Corporation
InventorsBrian Fahs, John R. Nickolls, Henry Packard Moreton, Brett W. Coon
Estimating the term…
One embodiment of the present invention sets forth a technique providing an optimized way to allocate and access memory across a plurality of thread/data lanes. Specifically, the device driver receives an instruction targeted to a memory set up as an array of structures of arrays. The device driver computes an address within the memory using information about the number of thread/data lanes and parameters from the instruction itself. The result is a memory allocation and access approach where the device driver properly computes the target address in the memory. Advantageously, processing efficiency is improved where memory in a parallel processing subsystem is internally stored and accessed as an array of structures of arrays, proportional to the SIMT/SIMD group width (the number of threads or lanes per execution group).
A computer-implemented method for accessing data in a data structure stored in a memory, the method comprising:
A computer-readable medium including instructions that, when executed by a processing unit, cause the processing unit to access data in a data structure stored in a memory, by performing the steps of:
A computing device comprising:
Dependencies are inferred from the claim text.