<commit_before>//pub use neuralops_kernels::*;
//pub use neuralops_omp_kernels::*;

use libc::*;

#[cfg(not(feature = "iomp"))]
#[link(name = "gomp")]
extern "C" {}

#[cfg(feature = "iomp")]
#[link(name = "iomp5")]
extern "C" {}

#[link(name = "neuralops_kernels", kind = "static")]
extern "C" {
  pub fn neuralops_rect_fwd(
      batch_sz: size_t,
      dim: size_t,
      in_buf: *const f32,
      out_buf: *mut f32,
  );
  pub fn neuralops_rect_bwd(
      batch_sz: size_t,
      dim: size_t,
      out_buf: *const f32,
      out_grad: *const f32,
      in_grad: *mut f32,
  );
  pub fn neuralops_logistic_fwd(
      batch_sz: size_t,
      dim: size_t,
      in_buf: *const f32,
      out_buf: *mut f32,
  );<commit_msg>When compiling Intel OMP versions, link to icc runtime libraries.<commit_after>//pub use neuralops_kernels::*;
//pub use neuralops_omp_kernels::*;

use libc::*;

#[cfg(not(feature = "iomp"))]
#[link(name = "gomp")]
extern "C" {}

#[cfg(feature = "iomp")]
#[link(name = "iomp5")]
extern "C" {}

#[cfg(feature = "iomp")]
#[link(name = "imf")]
extern "C" {}

#[cfg(feature = "iomp")]
#[link(name = "irc")]
extern "C" {}

#[cfg(feature = "iomp")]
#[link(name = "irc_s")]
extern "C" {}

#[link(name = "neuralops_kernels", kind = "static")]
extern "C" {
  pub fn neuralops_rect_fwd(
      batch_sz: size_t,
      dim: size_t,
      in_buf: *const f32,
      out_buf: *mut f32,
  );
  pub fn neuralops_rect_bwd(
      batch_sz: size_t,
      dim: size_t,
      out_buf: *const f32,
      out_grad: *const f32,
      in_grad: *mut f32,
  );
  pub fn neuralops_logistic_fwd(
      batch_sz: size_t,
      dim: size_t,
      in_buf: *const f32,
      out_buf: *mut f32,
  );
{'fraction_non_alphanumeric': 0.17654028436018956, 'fraction_numerical': 0.017772511848341232, 'mean_word_length': 3.2759493670886077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1412775', 'n_tokens_mistral': 718, 'n_tokens_neox': 705, 'n_words': 163}