Skip to content

Conversation

@errata-c
Copy link
Contributor

@errata-c errata-c commented Nov 5, 2023

Casts the cudnnStatus_t enumeration to the underlying integer type prior to passing to fmt::format.
Additionally fixes an incorrect call to dependency_check in the test configuration when AF_WITH_EXTERNAL_PACKAGES_ONLY is set.

Description

Fixes: #3506.
Includes type_traits in the src/backend/cuda/platform.cpp file.
Uses only c++11 features.

Changes to Users

No changes to downstream users.

Checklist

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

@FloopCZ
Copy link
Contributor

FloopCZ commented Mar 7, 2024

The PR fixes #3506 for me and the code seems reasonable.
If @errata-c fixes the formatting according to clang-format, can it be merged?

@christophe-murphy christophe-murphy merged commit 7978352 into arrayfire:master Aug 30, 2024
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.

[Build]

3 participants