Identifying storage for ray tracing
Apparatuses, systems, and techniques to perform ray tracing. In at least one embodiment, ray tracing workload is estimated prior to ray tracing simulation based on, for example, less than all data associated with rays to be traced.
1 . A processor, comprising:
one or more circuits to predict, prior to completion of a ray tracing operation identified by a user, a ray tracing workload corresponding to the ray tracing operation based, at least in part, on data from tracing one or more partial primary rays including an amount of data to compute one or more numbers of one or more types of secondary rays.
2 . The processor of claim 1 , wherein the ray tracing workload is to enable one or more rays resulting from the one or more ray tracing software programs being performed to be selected by a user.
3 . The processor of claim 1 , wherein the one or more circuits are to predict ray tracing workload prior to ray tracing based, at least in part, on less than all data associated with rays to be traced.
4 . The processor of claim 1 , wherein the ray tracing workload is computed based, at least in part, on information related to ray intersections in a virtual environment, the ray intersections comprising one or more of specular reflection, diffraction, refraction, and diffuse reflection.
5 . The processor of claim 1 , wherein the ray tracing workload is computed using less than all data associated with rays to be traced, wherein the less than all data is a minimum amount of data required to compute one or more numbers of one or more types of secondary rays of a primary ray.
6 . The processor of claim 1 , wherein the one or more circuits are to:
partition rays to be traced into two or more groups of rays based, at least in part, on the ray tracing workload and available memory space of one or more processing units; and
perform ray tracing of the two or more groups of rays using the one or more processing units.
7 . The processor of claim 1 , wherein the one or more circuits are to perform a partial ray tracing by tracing only one or more numbers and one or more types of secondary rays.
8 . A system, comprising:
one or more processors to predict, prior to completion of a ray tracing operation identified by a user, a ray tracing workload corresponding to the ray tracing operation based, at least in part, on data from tracing one or more partial primary rays including an amount of data to compute one or more numbers of one or more types of secondary rays.
9 . The system of claim 8 , wherein the ray tracing workload is to enable one or more rays resulting from the one or more ray tracing software programs being performed to be selected.
10 . The system of claim 8 , wherein the one or more processors are to predict the ray tracing workload prior to ray tracing based, at least in part, on less than all data associated with rays to be traced.
11 . The system of claim 8 , wherein the ray tracing workload is computed based, at least in part, on information related to ray intersections in a virtual environment, the ray intersections comprising one or more of specular reflection, diffraction, refraction, and diffuse reflection.
12 . The system of claim 8 , wherein the ray tracing workload is computed using less than all data associated with rays to be traced, wherein the less than all data is a minimum amount of data required to compute one or more numbers of one or more types of secondary rays of a primary ray.
13 . The system of claim 8 , wherein the one or more processors are to:
partition rays to be traced into two or more groups of rays based, at least in part, on ray tracing workload and available memory space of one or more processing units; and
perform ray tracing of the two or more groups of rays using the one or more processing units.
14 . The system of claim 8 , wherein the one or more ray tracing software programs are performed by two or more graphic processing units (GPUs) in parallel.
15 . A method, comprising:
using one or more circuits to predict, prior to completion of a ray tracing operation identified by a user, a ray tracing workload corresponding to the ray tracing operation based, at least in part, on data from tracing one or more partial primary rays including an amount of data to compute one or more numbers of one or more types of secondary rays.
16 . The method of claim 15 , wherein the ray tracing workload is to enable one or more rays resulting from the one or more ray tracing software programs being performed to be selected.
17 . The method of claim 15 , further comprising:
predicting ray tracing workload prior to ray tracing based, at least in part, on less than all data associated with rays to be traced.
18 . The method of claim 15 , wherein the ray tracing workload is computed based, at least in part, on information related to ray intersections in a virtual environment, the ray intersections comprising one or more of specular reflection, diffraction, refraction, and diffuse reflection.
19 . The method of claim 15 , wherein the ray tracing workload is computed using less than all data associated with rays to be traced, wherein the less than all data is a minimum amount of data required to compute one or more numbers of one or more types of secondary rays of a primary ray.
20 . The method of claim 15 , further comprising:
partitioning rays to be traced into two or more groups of rays based, at least in part, on ray tracing workload and available memory space of one or more processing units; and
performing ray tracing of the two or more groups of rays using the one or more processing units.