<commit_before>#pragma once

namespace dg{


struct equals
{
    template< class T1, class T2>
    void operator()( T1& out, T2 in) const
    {
        out = in;
    }
};
struct plus_equals
{
    template< class T1, class T2>
    void operator()( T1& out, T2 in) const
    {
        out += in;
    }
};
struct minus_equals
{
    template< class T1, class T2>
    void operator()( T1& out, T2 in) const
    {
        out -= in;
    }
};
struct times_equals
{
    template< class T1, class T2>
    void operator()( T1& out, T2 in) const
    {
        out *= in;
    }
};
struct divides_equals
{
    template< class T1, class T2>
    void operator()( T1& out, T2 in) const
    {
        out /= in;
    }
};

}//namespace dg<commit_msg>adde DEVICE specifier to subroutines<commit_after>#pragma once

namespace dg{

///@addtogroup functions
///@{

///\f$ x=y\f$
struct equals
{
    template< class T1, class T2>
DG_DEVICE void operator()( T1& out, T2 in) const
    {
        out = in;
    }
};
///\f$ x+=y\f$
struct plus_equals
{
    template< class T1, class T2>
DG_DEVICE void operator()( T1& out, T2 in) const
    {
        out += in;
    }
};
///\f$ x-=y\f$
struct minus_equals
{
    template< class T1, class T2>
DG_DEVICE void operator()( T1& out, T2 in) const
    {
        out -= in;
    }
};
///\f$ x*=y\f$
struct times_equals
{
    template< class T1, class T2>
DG_DEVICE void operator()( T1& out, T2 in) const
    {
        out *= in;
    }
};
///\f$ x/=y\f$
struct divides_equals
{
    template< class T1, class T2>
DG_DEVICE void operator()( T1& out, T2 in) const
    {
        out /= in;
    }
};
///@}

}//namespace dg
{'fraction_non_alphanumeric': 0.14864864864864866, 'fraction_numerical': 0.02457002457002457, 'mean_word_length': 2.1569767441860463, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5245940', 'n_tokens_mistral': 643, 'n_tokens_neox': 630, 'n_words': 192}