Skip to content

Commit

Permalink
improve formatting
Browse files Browse the repository at this point in the history
Co-Authored-By: Yuhsiang M. Tsai <yhmtsai@gmail.com>
  • Loading branch information
upsj and yhmtsai committed Jan 12, 2020
1 parent bfa9a80 commit 4abd1eb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
4 changes: 1 addition & 3 deletions cuda/components/prefix_sum.cu
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/


#include "core/components/prefix_sum.hpp"


Expand Down Expand Up @@ -60,7 +59,6 @@ void prefix_sum(std::shared_ptr<const CudaExecutor> exec, IndexType *counts,
block_sums);
}


GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);

// explicitly instantiate for size_type as well, as this is used in the SellP
Expand All @@ -71,4 +69,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const CudaExecutor> exec,

} // namespace cuda
} // namespace kernels
} // namespace gko
} // namespace gko
4 changes: 1 addition & 3 deletions hip/components/prefix_sum.hip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/


#include "core/components/prefix_sum.hpp"


Expand Down Expand Up @@ -61,7 +60,6 @@ void prefix_sum(std::shared_ptr<const HipExecutor> exec, IndexType *counts,
counts, block_sums);
}


GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);

// explicitly instantiate for size_type as well, as this is used in the SellP
Expand All @@ -72,4 +70,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const HipExecutor> exec,

} // namespace hip
} // namespace kernels
} // namespace gko
} // namespace gko
4 changes: 1 addition & 3 deletions omp/components/prefix_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/


#include "core/components/prefix_sum.hpp"


Expand All @@ -51,7 +50,6 @@ void prefix_sum(std::shared_ptr<const OmpExecutor> exec, IndexType *counts,
}
}


GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);

// explicitly instantiate for size_type as well, as this is used in the SellP
Expand All @@ -62,4 +60,4 @@ template void prefix_sum<size_type>(std::shared_ptr<const OmpExecutor> exec,

} // namespace omp
} // namespace kernels
} // namespace gko
} // namespace gko
4 changes: 1 addition & 3 deletions reference/components/prefix_sum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
******************************<GINKGO LICENSE>*******************************/


#include "core/components/prefix_sum.hpp"


Expand All @@ -51,7 +50,6 @@ void prefix_sum(std::shared_ptr<const ReferenceExecutor> exec,
}
}


GKO_INSTANTIATE_FOR_EACH_INDEX_TYPE(GKO_DECLARE_PREFIX_SUM_KERNEL);

// explicitly instantiate for size_type as well, as this is used in the SellP
Expand All @@ -63,4 +61,4 @@ template void prefix_sum<size_type>(

} // namespace reference
} // namespace kernels
} // namespace gko
} // namespace gko

0 comments on commit 4abd1eb

Please sign in to comment.