Intel® Gaudi® AI Accelerator
Support for the Intel® Gaudi® AI Accelerator
10 Discussions

About TPC-C kernel implementation (aso) instruction

ryanpark
Beginner
417 Views

https://docs.habana.ai/en/latest/TPC/TPC_User_Guide/TPC_Coherency.html

As TPC_User_Guid stated, to ensure the coherency between each kernel, it seems that we use ASO instruction if each TPC kernel accesses the same global memory.

 

For instance, if we need to read and update the values in matrix C (in the same coordinates), we must block them to protect coherency, or each TPC core might read past values that haven't been updated yet. 

 

Are there some examples of the ASO instructions?

There are no references that I could find. Currently, I have only one way to access the same global memory, which needs to consist of coherency. 

0 Kudos
1 Solution
4 Replies
James_Edwards
Employee
411 Views

Currently there are no examples of using the ASO instruction outside of the description given in the base documentation or in the TPC tutorial, given here: Use TPC Kernels on Intel® Gaudi® Technology. I will see if I can contact R&D and get a code snippet pertaining to this.

0 Kudos
ryanpark
Beginner
347 Views

Thanks, it could be a solution for me. Thanks for the reply. I really appreciate that it solved my problem.

0 Kudos
ryanpark
Beginner
347 Views

Thanks, it could be a solution for me. 

Thanks for the reply and I really appreciate that it solved my problem 

0 Kudos
Reply