Skip to content

Conversation

@albertandaluz
Copy link
Member

removed cuda 11.x support
use c++20 in tests
require fkl 0.2.0 as minimum

Albert Andaluz added 3 commits October 30, 2025 19:51
@albertandaluz albertandaluz requested a review from Copilot October 30, 2025 18:53
@albertandaluz albertandaluz linked an issue Oct 30, 2025 that may be closed by this pull request
Copy link

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

This PR updates the project to use FKL (Fused Kernel Library) version 0.2.0 and migrates from C++17 to C++20 standard. The changes remove support for CUDA 11.x and update API calls to match the new FKL version.

  • Updates FKL dependency from version 0.1.6 to 0.2.0
  • Migrates C++ standard from 17 to 20 across all build configurations
  • Updates include paths and API calls to match FKL 0.2.0 breaking changes

Reviewed Changes

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

Show a summary per file
File Description
include/fast_npp.cuh Updates FKL include paths and API calls to match 0.2.0 interface changes
include/CMakeLists.txt Sets C++ standard to 20 for header library
fkl Updates submodule commit to FKL 0.2.0
cmake/libs/fkl.cmake Updates FKL version numbers to 0.2.0
cmake/discover_tests.cmake Sets C++ standard to 20 for test targets
benchmarks/CMakeLists.txt Sets C++ standard to 20 for benchmark targets
.github/workflows/cmake-windows-amd64.yml Removes CUDA 11.8 toolset, keeping only CUDA 12.9

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

int currentDevice{ 0 };
gpuErrchk(cudaGetDevice(&currentDevice));
std::array<fk::Ptr2D<uchar3>, BATCH> srcBatch;
std::array<fk::Ptr2D<uchar3>, BATCH> srcBatch;
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

Trailing whitespace should be removed from this line.

Suggested change
std::array<fk::Ptr2D<uchar3>, BATCH> srcBatch;
std::array<fk::Ptr2D<uchar3>, BATCH> srcBatch;

Copilot uses AI. Check for mistakes.
Comment on lines +42 to +43
h_pBatchSrc[i].nStep, fk::MemType::Device,
currentDevice);
Copy link

Copilot AI Oct 30, 2025

Choose a reason for hiding this comment

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

[nitpick] The line break after the comma creates inconsistent formatting. Consider keeping the parameter list on fewer lines or align the continuation properly.

Copilot uses AI. Check for mistakes.
Albert Andaluz added 2 commits October 30, 2025 20:07
@albertandaluz albertandaluz force-pushed the 15-update-tests-for-fkl-020-and-c20 branch from a162347 to 6e6b115 Compare October 30, 2025 19:33
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.

update tests for FKL 0.2.0 and c++20

2 participants