Skip to content
This repository was archived by the owner on Apr 29, 2026. It is now read-only.

Commit ab47603

Browse files
committed
Refactor best_item structure in pe_synth_cuda_u64_cones.cu for clarity
- Changed member variable initialization from in-class to default constructor style for better readability and consistency. - This adjustment enhances the maintainability of the code while preserving existing functionality.
1 parent 54d111d commit ab47603

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/pe_synth_cuda_u64_cones.cu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ namespace phy_engine::verilog::digital::details
252252

253253
struct best_item
254254
{
255-
std::int32_t score{};
256-
std::uint32_t gain{};
257-
std::uint32_t cost{};
258-
std::uint32_t idx{};
255+
std::int32_t score;
256+
std::uint32_t gain;
257+
std::uint32_t cost;
258+
std::uint32_t idx;
259259
};
260260

261261
__device__ __forceinline__ bool best_item_better(best_item const& a, best_item const& b) noexcept

0 commit comments

Comments
 (0)