Skip to content

Conversation

dpanfilyonok
Copy link
Collaborator

No description provided.

let inline (!>) (x: ^a) : ^b = (^a : (static member op_Implicit : ^a -> ^b) x)

let private provider =
try ComputeProvider.Create("INTEL*", DeviceType.Cpu)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we provide a platform name and device type as parameters?

@@ -0,0 +1,16 @@
namespace GraphBLAS.FSharp

type Semiring<'a> = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why it is not a struct with two constructors?

@@ -0,0 +1,16 @@
namespace GraphBLAS.FSharp

type Semiring<'a> = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read carefully these three definitions of semiring:

  1. https://ru.wikipedia.org/wiki/%D0%9F%D0%BE%D0%BB%D1%83%D0%BA%D0%BE%D0%BB%D1%8C%D1%86%D0%BE
  2. https://en.wikipedia.org/wiki/Semiring
  3. https://people.eecs.berkeley.edu/~aydin/GraphBLAS_API_C_v13.pdf (Section 3.3 Semitings)

They are different. We should discuss, which one we should use.

@gsvgit gsvgit merged commit 82d327f into SparseLinearAlgebra:master Nov 10, 2020
gsvgit pushed a commit that referenced this pull request Feb 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants