-
-
Notifications
You must be signed in to change notification settings - Fork 43
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
Nvidia MSM proof of concept (serial) #480
base: master
Are you sure you want to change the base?
Commits on Nov 5, 2024
-
wrap
execCudaImpl
macro logic in a blockOtherwise we run into problems if we have two execs in the same scope.
Configuration menu - View commit details
-
Copy full SHA for cacb22d - Browse repository at this point
Copy the full SHA cacb22dView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4e640c - Browse repository at this point
Copy the full SHA d4e640cView commit details -
do not quit on failure in NvidiaAssembler destructor
A failure in the check from the destructor almost certainly means that we destroyed early, due to an exception. We don't want to hide the exception, hence we don't quit.
Configuration menu - View commit details
-
Copy full SHA for 22c0565 - Browse repository at this point
Copy the full SHA 22c0565View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1257ac - Browse repository at this point
Copy the full SHA c1257acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43e4d19 - Browse repository at this point
Copy the full SHA 43e4d19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6cd3ca8 - Browse repository at this point
Copy the full SHA 6cd3ca8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8b21c5 - Browse repository at this point
Copy the full SHA d8b21c5View commit details -
make
store
forValueRef
safer by checking for pointer-nessAlso adds `storePtr` if user really wants to store a pointer
Configuration menu - View commit details
-
Copy full SHA for 7a786ef - Browse repository at this point
Copy the full SHA 7a786efView commit details -
forbid
=copy
on Array, likely *not* what user wantsEasy to introduce bugs by thinking one stores, when in fact one just copies the reference.
Configuration menu - View commit details
-
Copy full SHA for 9ee8fe5 - Browse repository at this point
Copy the full SHA 9ee8fe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 494e4ca - Browse repository at this point
Copy the full SHA 494e4caView commit details -
add
FieldScalar
,FieldScalarArray
,EcAffArray
,EcAffArray
- for safer handling of multiple EC points in different coordinates - separate logic of elements of Fp (`Field`) from those of Fr (`FieldScalar`)
Configuration menu - View commit details
-
Copy full SHA for ec28afc - Browse repository at this point
Copy the full SHA ec28afcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21fb88c - Browse repository at this point
Copy the full SHA 21fb88cView commit details -
add ConstantValue, MutableValue wrappers around ValueRef
Dealing with ValueRef and the fact that pointers are now opaque in LLVM is extremely annoying. So here are 2 types that wrap the LLVM values with their respective underlying types which also provide easier load / write access.
Configuration menu - View commit details
-
Copy full SHA for cf095cf - Browse repository at this point
Copy the full SHA cf095cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d7f03d - Browse repository at this point
Copy the full SHA 5d7f03dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a0f8eb - Browse repository at this point
Copy the full SHA 9a0f8ebView commit details -
add
llvmIf
to generate code for if statementsIt _wraps around_ a full if statement.
Configuration menu - View commit details
-
Copy full SHA for c67548c - Browse repository at this point
Copy the full SHA c67548cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b28232 - Browse repository at this point
Copy the full SHA 0b28232View commit details -
Configuration menu - View commit details
-
Copy full SHA for 085b233 - Browse repository at this point
Copy the full SHA 085b233View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdf667d - Browse repository at this point
Copy the full SHA bdf667dView commit details -
add serial MSM implementation for Nvidia using bucket method
This implementation is a bit of a proof of concept and playground to investigate how easily we can generate code on the LLVM target with the help of Nim macros.
Configuration menu - View commit details
-
Copy full SHA for 44ce9df - Browse repository at this point
Copy the full SHA 44ce9dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb0c60 - Browse repository at this point
Copy the full SHA 6eb0c60View commit details -
Configuration menu - View commit details
-
Copy full SHA for 83e603a - Browse repository at this point
Copy the full SHA 83e603aView commit details