Skip to content

Use std::hint::black_box instead of criterion::black_box because it’s deprecated#381

Merged
AS1100K merged 2 commits intokornia:mainfrom
as1100k-forks:fix-deprecation
Jun 4, 2025
Merged

Use std::hint::black_box instead of criterion::black_box because it’s deprecated#381
AS1100K merged 2 commits intokornia:mainfrom
as1100k-forks:fix-deprecation

Conversation

@AS1100K
Copy link
Copy Markdown
Member

@AS1100K AS1100K commented Jun 2, 2025

This pull request makes a minor adjustment to the imports in the benchmarking file bench_dnn.rs by replacing the black_box import from criterion with the one from std::hint.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Jun 4, 2025

@AS1100K AS1100K merged commit d1cec24 into kornia:main Jun 4, 2025
14 checks passed
@AS1100K AS1100K deleted the fix-deprecation branch June 4, 2025 15:39
andrew-shc pushed a commit to andrew-shc/kornia-rs that referenced this pull request Aug 2, 2025
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.

2 participants