<commit_before>// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.

#ifndef TASKING_HPP
#define TASKING_HPP

// This file contains the Grappa task spawning API

//#include "Grappa.hpp"
#include "tasks/Task.hpp"
#include "tasks/TaskingScheduler.hpp"
#include "StateTimer.hpp"
#include "Communicator.hpp"

#include <boost/type_traits/remove_pointer.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/static_assert.hpp>

#ifdef GRAPPA_TRACE
#include <TAU.h>
#endif

#ifdef VTRACE
#include <vt_user.h>
#endif

#define STATIC_ASSERT_SIZE_8(type) static_assert(sizeof(type) == 8, "Size of "#type" must be 8 bytes.")

#define STATIC_ASSERT_SIZE_8(type) static_assert(sizeof(type) == 8, "Size of "#type" must be 8 bytes.")

DECLARE_uint64( num_starting_workers );


///
/// Task routines
///



namespace Grappa {

  /// @addtogroup Tasking
  /// @{

  namespace impl {

    /// Helper function to insert lambdas and functors in our task queues.
    template< typename T ><commit_msg>Get rid of old definition of STATIC_ASSERT_SIZE_8.<commit_after>// Copyright 2010-2012 University of Washington. All Rights Reserved.
// LICENSE_PLACEHOLDER
// This software was created with Government support under DE
// AC05-76RL01830 awarded by the United States Department of
// Energy. The Government has certain rights in the software.

#ifndef TASKING_HPP
#define TASKING_HPP

// This file contains the Grappa task spawning API

//#include "Grappa.hpp"
#include "tasks/Task.hpp"
#include "tasks/TaskingScheduler.hpp"
#include "StateTimer.hpp"
#include "Communicator.hpp"

#include <boost/type_traits/remove_pointer.hpp>
#include <boost/typeof/typeof.hpp>
#include <boost/static_assert.hpp>

#ifdef GRAPPA_TRACE
#include <TAU.h>
#endif

#ifdef VTRACE
#include <vt_user.h>
#endif

#define STATIC_ASSERT_SIZE_8(type) static_assert(sizeof(type) == 8, "Size of "#type" must be 8 bytes.")

DECLARE_uint64( num_starting_workers );


///
/// Task routines
///



namespace Grappa {

  /// @addtogroup Tasking
  /// @{

  namespace impl {

    /// Helper function to insert lambdas and functors in our task queues.
    template< typename T >
{'fraction_non_alphanumeric': 0.1104006820119352, 'fraction_numerical': 0.020460358056265986, 'mean_word_length': 4.262331838565022, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '6770866', 'n_tokens_mistral': 801, 'n_tokens_neox': 738, 'n_words': 235}