Skip to content

Conversation

@tmartin-gh
Copy link
Collaborator

@tmartin-gh tmartin-gh commented Jul 8, 2025

These compiler errors exhibit with matx header included in .cpp file when compiled with -Wall -Werror

  • error: typedef 'using NTypeS = typename matx::inner_op_type_t::type' locally defined but not used
  • error: ignoring '#pragma unroll ' [-Werror=unknown-pragmas]
  • error: unused variable 'ret' [-Werror=unused-variable]

This MR provides the fix by eliminating the unused type and replacing #pragma unroll with a MATX_LOOP_UNROLL macro.

…ype_t<typename ATensor::value_type>::type' locally defined but not used
@copy-pr-bot
Copy link

copy-pr-bot bot commented Jul 8, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@tmartin-gh tmartin-gh requested a review from cliffburdick July 8, 2025 18:03
@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh tmartin-gh changed the title Fix compiler error typename locally defined but not used Fix host compiler errors when using -Wall -Werror Jul 8, 2025
@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh tmartin-gh force-pushed the unusedlocaltypedef branch from 7d149bd to 1325441 Compare July 8, 2025 19:26
@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh tmartin-gh force-pushed the unusedlocaltypedef branch from 1325441 to 85934f8 Compare July 8, 2025 19:35
@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh tmartin-gh force-pushed the unusedlocaltypedef branch from 85934f8 to e4ecbaf Compare July 8, 2025 20:47
@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh
Copy link
Collaborator Author

/build

@tmartin-gh tmartin-gh merged commit 09505b5 into NVIDIA:main Jul 9, 2025
1 check passed
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