Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake and texture object support #5

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

cpviolator
Copy link

@cpviolator cpviolator commented Jun 7, 2024

This PR adds CMake functionality to the library to allow easier compilation up the dependency tree. It also offers some initial texture object support, retains texture reference and no texture use support.

Texture object and reference distinction is deduced at compile time, and texture use is configurable via:

  1. The CMake option DEDISP_TEXTURE which can be set using ccmake GIU
  2. The command line cmake -DDEDISP_TEXTURE ON
  3. Setting the envar export DEDISP_USE_TEXTURE=1 at compile time.

NOTE: Texture creation and destruction is done wholly in the src/kernels.cuh function dedisperse, which may not be the most efficient. Feedback on this to address performance is appreciated and any required changed will be implemented.

TODO:

  • Add installation functionality to CMake (61883d7)
  • Check performance regression

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.

1 participant