Skip to content

Commit

Permalink
removed double std namespaces
Browse files Browse the repository at this point in the history
fix underlines
  • Loading branch information
parbenc committed Dec 11, 2023
1 parent 64f649d commit 97c0e19
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion docs/Contributors_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The hipTensor repository follows a workflow which dictates a /master branch wher
the compute bound limit or memory bound limit.

Style Guide
==========
===========

This project follows the `CPP Core
guidelines <https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md>`__,
Expand Down
24 changes: 12 additions & 12 deletions docs/Programmers_Guide.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,72 +17,72 @@ The `library` directory
^^^^^^^^^^^^^^^^^^^^^^^

`library/include/hiptensor/`
'''''''''''''''''''''''''''
''''''''''''''''''''''''''''

Contains C++ include files for the hipTensor API. These files also contain Doxygen
comments that document the API.

`library/include/hiptensor/internal`
''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''

Internal include files for:

- Utility Code
- Generate Tensor Utility

`library/src/`
''''''''''''
''''''''''''''

Contains logger, device and performance functions.

`library/src/contraction/`
''''''''''''''''''''''''
''''''''''''''''''''''''''

Contains hipTensor core composable kernel header functions and contraction initialization functions.

`library/src/contraction/device`
''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''

Contains hipTensor Bilinear and Scale instance functions

The `samples` directory
^^^^^^^^^^^^^^^^^^^^^^^
`01_contraction/simple_bilinear_contraction_f32.cpp`
''''''''''''''''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''''''''''''''''

sample code for calling bilinear contraction for :code:`fp32` input, output and compute types


`01_contraction/simple_scale_contraction_f32.cpp`
'''''''''''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''''''''''

sample code for calling scale contraction for :code:`fp32` input, output and compute types

The `test` directory
^^^^^^^^^^^^^^^^^^^^^^^

`00_unit/logger`
''''''''''''''
''''''''''''''''

Test code for testing logger API Functions of hipTensor

`01_contraction/bilinear_contraction_f32`
'''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''

Test code for testing the bilinear contraction functionality and log metrics for F32 types.

`01_contraction/bilinear_contraction_f64`
'''''''''''''''''''''''''''''''''''''''
'''''''''''''''''''''''''''''''''''''''''

Test code for testing the bilinear contraction functionality and log metrics for F64 types.

`01_contraction/scale_contraction_f32`
''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''

Test code for testing the scale contraction functionality and log metrics for F32 types.

`01_contraction/scale_contraction_f64`
''''''''''''''''''''''''''''''''''''
''''''''''''''''''''''''''''''''''''''

Test code for testing the scale contraction functionality and log metrics for F64 types.

Expand Down
6 changes: 3 additions & 3 deletions library/src/contraction/contraction_solution_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
namespace std
{
template <>
struct std::hash<hiptensor::ContractionSolution>
struct hash<hiptensor::ContractionSolution>
{
std::size_t operator()(hiptensor::ContractionSolution const& s) const noexcept
size_t operator()(hiptensor::ContractionSolution const& s) const noexcept
{
return std::hash<hiptensor::ContractionSolutionParams>{}(*s.params());
return hash<hiptensor::ContractionSolutionParams>{}(*s.params());
}
};
}
Expand Down
4 changes: 2 additions & 2 deletions library/src/contraction/contraction_solution_params_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
namespace std
{
template <>
struct std::hash<hiptensor::ContractionSolutionParams>
struct hash<hiptensor::ContractionSolutionParams>
{
std::size_t operator()(hiptensor::ContractionSolutionParams const& s) const noexcept
size_t operator()(hiptensor::ContractionSolutionParams const& s) const noexcept
{
return hiptensor::Hash{}(s.dimsM(),
s.dimsN(),
Expand Down

0 comments on commit 97c0e19

Please sign in to comment.