Intel® Gaudi® AI Accelerator
Support for the Intel® Gaudi® AI Accelerator
19 토론

About TPC-C kernel implementation (aso) instruction

ryanpark
초급자
8,366 조회수

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 포인트
1 솔루션
4 응답
James_Edwards
직원
8,360 조회수

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 포인트
James_Edwards
직원
8,352 조회수
0 포인트
ryanpark
초급자
8,296 조회수

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

0 포인트
ryanpark
초급자
8,296 조회수

Thanks, it could be a solution for me. 

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

0 포인트
응답