Skip to content

Project 1 - Yunhao Qian#44

Open
yunhao-qian wants to merge 3 commits into
CIS5650-Fall-2025:mainfrom
yunhao-qian:main
Open

Project 1 - Yunhao Qian#44
yunhao-qian wants to merge 3 commits into
CIS5650-Fall-2025:mainfrom
yunhao-qian:main

Conversation

@yunhao-qian

Copy link
Copy Markdown

No description provided.

@yunhao-qian

yunhao-qian commented Sep 8, 2025

Copy link
Copy Markdown
Author
  • Repo Link
  • Features:
    • Implementing naive, scattered uniform grid, and coherent uniform grid versions of the algorithm
    • Performing systematic frame rate measurements programmatically
  • Changes to CMakeLists.txt
    • To share code among different configurations, I used lambda functions and constexpr in CUDA __device__ code. To enable these features, I turned on the --extended-lambda and --expt-relaxed-constexpr flags using target_compile_options().
    • To measure frame rates programmatically, all compile-time configurations are controlled by CMake definitions. These include N_FOR_VIS, VISUALIZE, FINE_GRAINED_CELLS, UNIFORM_GRID, COHERENT_GRID, and CUDA_BLOCK_SIZE.
    • The modified program has a special timed mode for measuring frame rates. To support this, CMake options are added, including FPS_MEASURE, FPS_MEASURE_START, and FPS_MEASURE_DURATION.
  • Note: Though I created the PR and submitted the initial version before the deadline, I later decided to use 1 late day for polishing my work, and two further commits have been added to this PR since then.

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