Skip to content

Commit

Permalink
Merge pull request #106 from lanl/quickfix
Browse files Browse the repository at this point in the history
fixed single :
  • Loading branch information
djdunning authored Oct 30, 2024
2 parents 25c4216 + 5dcccad commit 293ae4e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/include/kokkos_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,7 @@ T* ViewFArrayKokkos<T>::pointer() const {

template <typename T>
void ViewFArrayKokkos<T>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_(i) = val;
});
}
Expand Down Expand Up @@ -1634,7 +1634,7 @@ T* ViewFMatrixKokkos<T>::pointer() const {

template <typename T>
void ViewFMatrixKokkos<T>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_(i) = val;
});
}
Expand Down Expand Up @@ -2053,7 +2053,7 @@ const std::string DFArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name() con

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DFArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_.d_view(i) = val;
});
}
Expand Down Expand Up @@ -2526,7 +2526,7 @@ const std::string DViewFArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name()

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DViewFArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_(i) = val;
});
}
Expand Down Expand Up @@ -2942,7 +2942,7 @@ const std::string DFMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name() co

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DFMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_.d_view(i) = val;
});
}
Expand Down Expand Up @@ -3401,7 +3401,7 @@ const std::string DViewFMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name(

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DViewFMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_(i) = val;
});
}
Expand Down Expand Up @@ -4133,7 +4133,7 @@ T* ViewCArrayKokkos<T>::pointer() const {

template <typename T>
void ViewCArrayKokkos<T>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_(i) = val;
});
}
Expand Down Expand Up @@ -4861,7 +4861,7 @@ T* ViewCMatrixKokkos<T>::pointer() const {

template <typename T>
void ViewCMatrixKokkos<T>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_(i) = val;
});
}
Expand Down Expand Up @@ -5287,7 +5287,7 @@ void DCArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::update_device() {

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DCArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_.d_view(i) = val;
});
}
Expand Down Expand Up @@ -5756,7 +5756,7 @@ void DViewCArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::update_device() {

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DViewCArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_array_(i) = val;
});
}
Expand Down Expand Up @@ -6177,7 +6177,7 @@ const std::string DCMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name() co

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DCMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_.d_view(i) = val;
});
}
Expand Down Expand Up @@ -6633,7 +6633,7 @@ const std::string DViewCMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::get_name(

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void DViewCMatrixKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
this_matrix_(i) = val;
});
}
Expand Down Expand Up @@ -8310,7 +8310,7 @@ Kokkos::View<T*, Layout, ExecSpace, MemoryTraits> RaggedRightArrayofVectorsKokko

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits, typename ILayout>
void RaggedRightArrayofVectorsKokkos<T,Layout,ExecSpace,MemoryTraits, ILayout>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, length_), KOKKOS_CLASS_LAMBDA(const int i){
array_(i) = val;
});
}
Expand Down Expand Up @@ -9624,7 +9624,7 @@ int CSRArray<T>::toCSC(CArray<T> &data, CArray<size_t> &col_ptrs, CArray<size_t>

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void CSRArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, nnz_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, nnz_), KOKKOS_CLASS_LAMBDA(const int i){
array_(i) = val;
});
}
Expand Down Expand Up @@ -9992,7 +9992,7 @@ int CSCArrayKokkos<T,Layout, ExecSpace, MemoryTraits>::flat_index(size_t i, size

template <typename T, typename Layout, typename ExecSpace, typename MemoryTraits>
void CSCArrayKokkos<T,Layout,ExecSpace,MemoryTraits>::set_values(T val) {
Kokkos:parallel_for( Kokkos::RangePolicy<> ( 0, nnz_), KOKKOS_CLASS_LAMBDA(const int i){
Kokkos::parallel_for( Kokkos::RangePolicy<> ( 0, nnz_), KOKKOS_CLASS_LAMBDA(const int i){
array_(i) = val;
});
}
Expand Down

0 comments on commit 293ae4e

Please sign in to comment.