Repository navigation
Code Challenge Solutions-Pranshu Lakhotia #3
Replies: 6 comments 8 replies
|
Code Challenge 3: The nested loops iterate over rows of the first matrix and columns of the transposed second matrix to calculate each element of the resultant matrix as a sum of products. |
|
Code Challenge 4: Used LNS for internal computation. To verify that the LNS results are close to the FP results I compared the results element by element as shown in the output. The extra effort was worth it! |
|
Will be sharing code challenge 5 in a while sir. |
|
Code Challenge 5: In this the code remains the same as in xlns32.cpp we just replace xlns32 with xlns16. This is because: This shows how reduced precision LNS affects numerical accuracy which is a key consideration when implementing LNS in hardware for applications like LLMs where the tradeoff between accuracy and efficiency is important. |
|
@pradeeban @markgarnold Sir completed all the Code Challenges. Please review Thank you. |













Uh oh!
There was an error while loading. Please reload this page.
I was already intrigued by the XLNS project and I decided to take on the code challenges for XLNScpp as well. It was very fun solving the challenges and I gained more experience from it.
Sharing with you my solutions for your valuable feedbacks and suggestions @markgarnold @pradeeban sir.
All reactions