-
Notifications
You must be signed in to change notification settings - Fork 6
GraphBLAS object prototypes #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphBLAS object prototypes #3
Conversation
let inline (!>) (x: ^a) : ^b = (^a : (static member op_Implicit : ^a -> ^b) x) | ||
|
||
let private provider = | ||
try ComputeProvider.Create("INTEL*", DeviceType.Cpu) |
There was a problem hiding this comment.
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> = { |
There was a problem hiding this comment.
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> = { |
There was a problem hiding this comment.
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:
- 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
- https://en.wikipedia.org/wiki/Semiring
- 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.
Matrices loading is optimized.
No description provided.