Skip to content

refactor: remove obsolete OptiX PTX scratch files and stale sysrap test runners#343

Open
plexoos wants to merge 3 commits into
mainfrom
remove-outdated-check-ptx
Open

refactor: remove obsolete OptiX PTX scratch files and stale sysrap test runners#343
plexoos wants to merge 3 commits into
mainfrom
remove-outdated-check-ptx

Conversation

@plexoos
Copy link
Copy Markdown
Member

@plexoos plexoos commented May 28, 2026

This PR removes outdated OptiX/PTX scratch code and related stale test artifacts.

CSGOptiX cleanup

  • remove the obsolete CSGOptiX/Check.cu debug/probe source
  • simplify CSGOptiX/CMakeLists.txt now that CSGOptiX7.cu is the only remaining OptiX PTX source
  • keep the PTX object/install wiring aligned with the single-source setup

sysrap test cleanup

  • remove stale SOPTIX_Module_test.{cc,sh} and SOPTIX_Pipeline_test.{cc,sh} files
  • remove the obsolete sysrap/tests/go.sh runner and its tests.txt manifest
  • clean up leftover references in sysrap/SOPTIX.rst and sysrap/SGLFW_Evt.h

Why

Check.cu was an old standalone compiler/debug check and is no longer part of the active OptiX path.

The removed sysrap test files were stale, not wired into the current CMake test flow, and still referenced outdated PTX naming/path conventions. Existing OptiX integration paths already exercise module/pipeline creation more realistically through current render/simulate flows.

Copilot AI review requested due to automatic review settings May 28, 2026 21:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes an unused OptiX debug/probe CUDA source (Check.cu) and simplifies the CSGOptiX CMake PTX build setup now that CSGOptiX7.cu is the only remaining OptiX CUDA source.

Changes:

  • Drop CSGOptiX/Check.cu from the repository.
  • Replace the OPTIX_SOURCES list/foreach PTX generation with a single OPTIX_SOURCE PTX object-library target.
  • Update the install rule to reference the PTX object target via ${OPTIX_SOURCE}.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
CSGOptiX/CMakeLists.txt Simplifies PTX object target creation and installation now that only one OptiX CUDA source remains.
CSGOptiX/Check.cu Removes an obsolete debug/probe CUDA source.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CSGOptiX/CMakeLists.txt Outdated

set(SOURCES)
set(OPTIX_SOURCES)
set(OPTIX_SOURCE CSGOptiX7.cu)
Comment thread CSGOptiX/CMakeLists.txt Outdated
plexoos added 2 commits May 28, 2026 18:19
Dropped the unused Check.cu debug/probe source from CSGOptiX and simplified the CMake PTX setup now
that CSGOptiX7.cu is the only remaining OptiX source.
Dropped stale SOPTIX module/pipeline test sources and shell wrappers and removed the unused
go.sh/tests.txt runner path and clean up leftover references.
@plexoos plexoos force-pushed the remove-outdated-check-ptx branch from 5fd50c4 to a45c567 Compare May 28, 2026 22:23
@plexoos plexoos changed the title build(csgoptix): remove obsolete Check.cu and simplify PTX target setup refactor: remove obsolete OptiX PTX scratch files and stale sysrap test runners May 28, 2026
@plexoos
Copy link
Copy Markdown
Member Author

plexoos commented May 28, 2026

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 10 out of 10 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants