Skip to content

Commit

Permalink
style: found more silly comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Nov 6, 2023
1 parent ac8a1cd commit d4e1c76
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
5 changes: 4 additions & 1 deletion include/dpp/isa/avx.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ namespace dpp {
}

protected:
alignas(16) float values[byte_blocks_per_register]{};///< Array for storing the values to be loaded/stored.
/**
* @brief Array for storing the values to be loaded/stored.
*/
alignas(16) float values[byte_blocks_per_register]{};

/**
* @brief Stores values from a 128-bit AVX vector to a storage location.
Expand Down
5 changes: 4 additions & 1 deletion include/dpp/isa/avx2.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ namespace dpp {
}

protected:
alignas(32) float values[byte_blocks_per_register]{};///< Array for storing the values to be loaded/stored.
/**
* @brief Array for storing the values to be loaded/stored.
*/
alignas(32) float values[byte_blocks_per_register]{};

/**
* @brief Stores values from a 256-bit AVX2 vector to a storage location.
Expand Down
5 changes: 4 additions & 1 deletion include/dpp/isa/avx512.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ namespace dpp {
}

protected:
alignas(64) float values[byte_blocks_per_register]{};///< Array for storing the values to be loaded/stored.
/**
* @brief Array for storing the values to be loaded/stored.
*/
alignas(64) float values[byte_blocks_per_register]{};

/**
* @brief Stores values from a 512-bit AVX512 vector to a storage location.
Expand Down
20 changes: 14 additions & 6 deletions src/dpp/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -877,15 +877,23 @@ std::string make_url_parameters(const std::map<std::string, uint64_t>& parameter

std::string markdown_escape(const std::string& text, bool escape_code_blocks) {
/**
* @brief Represents the current state of the finite state machine
* for the markdown_escape function.
*/
* @brief Represents the current state of the finite state machine
* for the markdown_escape function.
*/
enum md_state {
/// normal text
/**
* @brief Normal text
*/
md_normal = 0,
/// a paragraph code block, represented by three backticks

/**
* @brief A paragraph code block, represented by three backticks.
*/
md_big_code_block = 1,
/// an inline code block, represented by one backtick

/**
* @brief An inline code block, represented by one backtick.
*/
md_small_code_block = 2,
};

Expand Down

0 comments on commit d4e1c76

Please sign in to comment.