text: // Copyright Contributors to the Open Shading Language project.
  // SPDX-License-Identifier: BSD-3-Clause
  // https://github.com/AcademySoftwareFoundation/OpenShadingLanguage
  
  #ifndef __OSL_USE_REFERENCE_INT_HASH
  #    define __OSL_USE_REFERENCE_INT_HASH 0
  #endif
  #if __OSL_USE_REFERENCE_INT_HASH
  // incorrect results when vectorizing with reference hash
  #    undef OSL_OPENMP_SIMD
  #endif
  
  #include "batched_cg_policy.h"
  OSL_NAMESPACE_ENTER
  namespace __OSL_WIDE_PVT {
  
  namespace {
  template<>
  struct BatchedCGPolicy<Param::WF, Param::WF, Param::WF, Param::WF, Param::WF> {
      static constexpr int simd_threshold = 4;
  };
  template<> struct BatchedCGPolicy<Param::WF, Param::WV, Param::WV> {
      static constexpr int simd_threshold = 4;
  };
  template<>
  struct BatchedCGPolicy<Param::WF, Param::WV, Param::WF, Param::WV, Param::WF> {
      static constexpr int simd_threshold = 7;
  };
  }  // namespace
  
  }  // namespace __OSL_WIDE_PVT
  OSL_NAMESPACE_EXIT
  
  
  // To improve parallel compile times, split noise with float results and
  // Vec3 results into different cpp files
  #define __OSL_XMACRO_FLOAT_RESULTS_ONLY
  #define __OSL_XMACRO_ARGS (pnoise, PeriodicNoiseScalar, PeriodicNoise)
  #include "wide_opnoise_periodic_impl_xmacro.h"
  