<commit_before>(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use 
// it to define helpers that you do not want to show in the documentation.
#I "../../bin"

(**
Brahma.FSharp
======================

Documentation

<div class="row">
  <div class="span1"></div>
  <div class="span6">
    <div class="well well-small" id="nuget">
      The Brahma.FSharp library can be <a href="https://nuget.org/packages/Brahma.FSharp">installed from NuGet</a>:
      <pre>PM> Install-Package Brahma.FSharp</pre>
    </div>
  </div>
  <div class="span1"></div>
</div>

Example
-------

This example demonstrates using a function defined in this library.

*)

module MatrixMultiply

open Brahma.Helpers
open OpenCL.Net
open Brahma.OpenCL
open Brahma.FSharp.OpenCL.Core
open Microsoft.FSharp.Quotations
open Brahma.FSharp.OpenCL.Extensions
<commit_msg>description added<commit_after>(*** hide ***)
// This block of code is omitted in the generated HTML documentation. Use 
// it to define helpers that you do not want to show in the documentation.
#I "../../bin"

(**
Brahma.FSharp
======================

Documentation



Brahma.FSharp is a library for F# quotations to OpenCL translation.

<div class="row">
  <div class="span1"></div>
  <div class="span6">
    <div class="well well-small" id="nuget">
      The Brahma.FSharp library can be <a href="https://nuget.org/packages/Brahma.FSharp">installed from NuGet</a>:
      <pre>PM> Install-Package Brahma.FSharp</pre>
    </div>
  </div>
  <div class="span1"></div>
</div>

Features of Brahma.FSharp:

 * We are aimed to translate native F# code to OpenCL with minimization of different wrappers and custom types.
 * We use OpenCL for communication with GPU. So, you can work not only with NVIDIA hardware but with any device, 
which supports OpenCL (e.g. with AMD devices).
 * We support tuples and structures.
 * We can use strongly typed kernels from OpenCL code in F#.

Example
-------

This example demonstrates using a function defined in this library.

*)

module MatrixMultiply

open Brahma.Helpers
open OpenCL.Net
open Brahma.OpenCL
open Brahma.FSharp.OpenCL.Core
open Microsoft.FSharp.Quotations
open Brahma.FSharp.OpenCL.Extensions

{'fraction_non_alphanumeric': 0.1381489841986456, 'fraction_numerical': 0.002708803611738149, 'mean_word_length': 3.881057268722467, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 2, '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': '883114', 'n_tokens_mistral': 724, 'n_tokens_neox': 669, 'n_words': 243}