-
Notifications
You must be signed in to change notification settings - Fork 14
Add GpuSharedMemory Tests for Intel GPU #537
base: main
Are you sure you want to change the base?
Conversation
This mostly the same as the original smem test, right? The only real difference is the kernel submission. Can we get rid of code duplication for all the codegen and helpers methods? |
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.
We should also mark it as "enabling" for it to become a part of regular testing.
ab93982
to
abf9f73
Compare
|
Current issue with GpuSharedMemoryTestIntel executable:
hdk_log:
IR: https://gist.github.com/lmontigny/3663842110065557e18df09ea5f658d5 @kurapov-peter Can you have a look the IR & GpuSharedMemoryTestIntel.cpp around |
I see that none of the functions except for the |
Another thing to check is that your group-by buffer size does not produce indexes that are out of the allocated SLM. |
The last thing that caught my eye is that there's a declaration of the |
Oh, and I think |
@@ -0,0 +1,813 @@ | |||
/* | |||
* Copyright 2019 OmniSci, Inc. |
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.
this one should be fixed I guess
Previous Spirv IGC opcode issue fixed internally. |
In the latest IR with the IGC fix, I don't have any declaration for init_shared_mem, is it normal? attached IR |
Fixed large portion of the codegen at different level, executable now running. Next step is to fix the computation to have correct results. (currently cpu != gpu results)
|
Problem
We need specific tests for Shared Memory on Intel GPU.
Currently we have only shared memory test for Nvidia GPU with CUDA.
Solution
This PR adds the ./Tests/GpuSharedMemoryTestIntel executable.
I took the GpuSharedMemoryTest.cpp code and adapted it from Nvidia CUDA to L0
Impact
It will allows us to test our SM implementation, work in progress #534