Skip to content

Conversation

@edwinsolisf
Copy link
Contributor

Added a black hole raytracing example.

Description

Added a Black Hole Raytracing Example to the ArrayFire example list. It was added to the pde folder and it contains 1 image that was added to the assets/examples/images repo folder. It contains three scenes to display.

  • Is this a new feature or a bug fix?: Neither
  • Potential impact on specific hardware, software or backends: None
  • New functions and their functionality: None
  • Can this PR be backported to older versions?: Yes
  • Future changes not implemented in this PR: None

Changes to Users

  • New example project in the arrayfire example list
  • No action required by the user

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass
  • Functions added to unified API
  • Functions documented

@melonakos melonakos added this to the 3.10 milestone Mar 10, 2025
@edwinsolisf
Copy link
Contributor Author

Require also this PR

@christophe-murphy
Copy link
Contributor

The oneAPI back end is crashing with this example. Also the OpenCL back end is much slower than the CUDA back end on my GPU at least. Might be worth investigating.

@edwinsolisf
Copy link
Contributor Author

I can reproduce both on my end. Not sure about the OpenCL backend performance dropoff is coming from, but for the oneapi I will remove it from the oneapi example list

@christophe-murphy christophe-murphy merged commit 651988a into arrayfire:master Mar 28, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants