Skip to content

Added Embree CPU backend, hybrid context, and hybrid ray tracing API#64

Open
krisu011 wants to merge 7 commits into
GPUOpen-LibrariesAndSDKs:mainfrom
Eastkill:main
Open

Added Embree CPU backend, hybrid context, and hybrid ray tracing API#64
krisu011 wants to merge 7 commits into
GPUOpen-LibrariesAndSDKs:mainfrom
Eastkill:main

Conversation

@krisu011

Copy link
Copy Markdown

Added:

  • Phase 1: ContextBase, refactor Context → GpuContext, context routing in hiprtCreateContext
  • Phase 2: CpuContext (Embree), hiprt_cpu.h with traceBatch (closest + any-hit), CPU tests
  • Phase 3: HybridContext — GPU handles outward, Embree mirrors in side-tables + CpuDataRegistry
  • Phase 4: hiprt_hybrid.h / hiprtTraceHybridClosest + hiprtTraceHybridAnyHit (scene + geometry), GPU/CPU batch split (gpuFraction), internal batch-kernel compile and cache

Tests:
20 CPU+Hybrid tests: CpuTest., HybridTest.

To run tests:
.\dist\bin\Release\unittest64.exe --gtest_filter=CpuTest.:HybridTest.

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.

3 participants