Skip to content

[hipblaslt-provider] Convert hipblaslt-provider to stream-style logging#4440

Merged
BrianHarrisonAMD merged 1 commit into
users/bharriso/logging-changes-cleanupfrom
users/bharriso/hipblaslt-provider-stream-logging
Feb 10, 2026
Merged

[hipblaslt-provider] Convert hipblaslt-provider to stream-style logging#4440
BrianHarrisonAMD merged 1 commit into
users/bharriso/logging-changes-cleanupfrom
users/bharriso/hipblaslt-provider-stream-logging

Conversation

@BrianHarrisonAMD
Copy link
Copy Markdown
Contributor

@BrianHarrisonAMD BrianHarrisonAMD commented Feb 9, 2026

Motivation

Remove spdlog/fmt dependency from hipblaslt-provider.
This change is part of removing spdlog/fmt from plugin_sdk.

Technical Details

Changes:

  • Convert logging to stream based style
  • Remove hipdnn_enable_spdlog() calls from CMakeLists.txt files
  • Remove spdlog includes and shutdown calls from test main.cpp files

Test Plan

Build and tests are working locally (CI not enabled for hipblaslt-provider yet).
Logs are properly output (unchanged).

Test Result

Build and tests are continuing to pass.
Logs are printing properly.


Note

Off the logging clean-up branch (PR #4423) that is about to be merged.
This ensures we have the latest namespaces, and other clean-up changes for this work.

Remove spdlog/fmt dependency from hipblaslt-provider by converting all
format-string style logging to stream-style:
- HIPDNN_PLUGIN_LOG_*("msg: {}", val) → HIPDNN_PLUGIN_LOG_*("msg: " << val)
- LOG_API_*("msg={}", val) → LOG_API_*("msg=" << val)

Also removes:
- hipdnn_enable_spdlog() calls from CMakeLists.txt files
- spdlog includes and shutdown calls from test main.cpp files

This change is part of removing spdlog/fmt from plugin_sdk, enabling
providers to work without these dependencies.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@mousdahl-amd mousdahl-amd left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Contributor

@a-sidorova a-sidorova left a comment

Choose a reason for hiding this comment

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

@BrianHarrisonAMD thank you for the changes!

@BrianHarrisonAMD BrianHarrisonAMD merged commit f8b9420 into users/bharriso/logging-changes-cleanup Feb 10, 2026
8 checks passed
@BrianHarrisonAMD BrianHarrisonAMD deleted the users/bharriso/hipblaslt-provider-stream-logging branch February 10, 2026 17:41
BrianHarrisonAMD added a commit that referenced this pull request Feb 13, 2026
## Motivation

With the removal of spdlog & fmt from the data_sdk (#4312) we moved this
capability to the plugin SDK to minimize changes.
#4442 & #4440 swapped existing providers to stream style logging, and
the Fusilli plugin has decided to do the same.
Now that no provider will depend on spdlog / fmt from plugin_sdk we are
removing this option.
Plugin authors can decide on their preferred logging style / macros, but
the provided ones from the hipDNN SDK will be unified.

## Technical Details

- Remove existing spdlog / fmt options from plugin_sdk.

## Test Plan

Build and tests pass.

## Test Result

Build and tests passing locally (waiting on CI).

---

### Note this is branched off the logging cleanup branch!

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
SamuelReeder pushed a commit that referenced this pull request Feb 17, 2026
## Motivation

With the removal of spdlog & fmt from the data_sdk (#4312) we moved this
capability to the plugin SDK to minimize changes.
#4442 & #4440 swapped existing providers to stream style logging, and
the Fusilli plugin has decided to do the same.
Now that no provider will depend on spdlog / fmt from plugin_sdk we are
removing this option.
Plugin authors can decide on their preferred logging style / macros, but
the provided ones from the hipDNN SDK will be unified.

## Technical Details

- Remove existing spdlog / fmt options from plugin_sdk.

## Test Plan

Build and tests pass.

## Test Result

Build and tests passing locally (waiting on CI).

---

### Note this is branched off the logging cleanup branch!

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
kamuruga08 pushed a commit that referenced this pull request Feb 19, 2026
## Motivation

With the removal of spdlog & fmt from the data_sdk (#4312) we moved this
capability to the plugin SDK to minimize changes.
#4442 & #4440 swapped existing providers to stream style logging, and
the Fusilli plugin has decided to do the same.
Now that no provider will depend on spdlog / fmt from plugin_sdk we are
removing this option.
Plugin authors can decide on their preferred logging style / macros, but
the provided ones from the hipDNN SDK will be unified.

## Technical Details

- Remove existing spdlog / fmt options from plugin_sdk.

## Test Plan

Build and tests pass.

## Test Result

Build and tests passing locally (waiting on CI).

---

### Note this is branched off the logging cleanup branch!

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
kamuruga08 pushed a commit that referenced this pull request Feb 19, 2026
## Motivation

With the removal of spdlog & fmt from the data_sdk (#4312) we moved this
capability to the plugin SDK to minimize changes.
#4442 & #4440 swapped existing providers to stream style logging, and
the Fusilli plugin has decided to do the same.
Now that no provider will depend on spdlog / fmt from plugin_sdk we are
removing this option.
Plugin authors can decide on their preferred logging style / macros, but
the provided ones from the hipDNN SDK will be unified.

## Technical Details

- Remove existing spdlog / fmt options from plugin_sdk.

## Test Plan

Build and tests pass.

## Test Result

Build and tests passing locally (waiting on CI).

---

### Note this is branched off the logging cleanup branch!

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants