Skip to content

116 support all geometries gpu runner -- continued#129

Closed
jmaack24 wants to merge 121 commits into
optixCSP_mergefrom
116-support-all-geometries---gpu-runner
Closed

116 support all geometries gpu runner -- continued#129
jmaack24 wants to merge 121 commits into
optixCSP_mergefrom
116-support-all-geometries---gpu-runner

Conversation

@jmaack24

@jmaack24 jmaack24 commented Mar 30, 2026

Copy link
Copy Markdown
Collaborator

Enable the following geometries within OptixRunner:

  • Flat Circle
  • Flat Hexagon
  • Flat Annulus
  • Parabola Circle
  • Parabola Hexagon
  • Parabola (general) Triangle
  • Parabola Annulus
  • Parabola Quadrilateral

If there is time, adding these would also be good

  • Cone Circle
  • Cone Hexagon
  • Cone (general) Triangle
  • Cone Rectangle
  • Cone Annulus
  • Cone Quadrilateral
  • Sphere Circle
  • Sphere Hexagon
  • Sphere (general) Triangle
  • Sphere Rectangle
  • Sphere Annulus
  • Sphere Quadrilateral

The following checklist for adding Surface/Aperture combination to the OptixRunner may be of use in the future. It is recommended to add the functions in the following order:

  1. Add needed OpticalEntityType (in OptixCSP/src/core/Soltrace.h)
  2. Add intersection function to IntersectionKernelMap in pipeline_manager.cpp
  3. Write intersection program (kernel) in intersection.cu. Function name must start with __intersection__ (note double underscores on both sides!!!)
  4. Add needed types and functions to GeometryDataST
  5. Add needed OptixCSP Aperture and Surface types in Aperture.h, Surface.h, and soltrace_type.h
  6. Add needed mapping to OpticalEntityType in GeometryManager::collect_geometry_info
  7. Add needed conversion code in CspElement::toDeviceGeometryData
  8. Add needed conversion code in OptixRunner::setup_elements
  9. Add some sort of test

nicholasbl and others added 30 commits January 22, 2026 14:15
- Fix unconditional embree include
- Fix broken merge
- Update CI to remove Debug
This could still fail for very fast machines
* Add ASAN to root CMake

* Add message to verify ASAN is enabled

* Change the compiler check to only trigger on Clang
jmaack24 and others added 28 commits May 19, 2026 08:57
…--gpu-runner

111 batch running features   gpu runner
* Draft build instructions for optix runner.

* Fix type

* Rename optix runner in readme

* docs: normalize Linux distro capitalization in OptiX config list

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@jmaack24

jmaack24 commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator Author

OptixCSP_merge has been merged into develop. Closing this PR in favor of a new one targeting the develop branch.

@jmaack24 jmaack24 closed this Jun 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants