-
Notifications
You must be signed in to change notification settings - Fork 26
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
AMX extension #68
AMX extension #68
Conversation
include/firestarter/Environment/X86/Platform/SapphireRapidsConfig.hpp
Outdated
Show resolved
Hide resolved
CMakeLists.txt
Outdated
@@ -39,7 +39,7 @@ git_submodule_update() | |||
|
|||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | |||
else() | |||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -O2 -fdata-sections -ffunction-sections") | |||
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mamx-int8 -mamx-tile -Wall -Wextra -O2 -fdata-sections -ffunction-sections") |
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.
Are these necessary?
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.
-mamx-tile is necessary.
-mamx-int8 got removed.
class AVX512_AMX_Payload final : public X86Payload { | ||
public: | ||
AVX512_AMX_Payload(asmjit::CpuFeatures const &supportedFeatures) | ||
: X86Payload(supportedFeatures, {asmjit::CpuFeatures::X86::kAMX_BF16}, |
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.
Checking for the kAMX_BF16 feature may have prevented you from integrating the AMX code it into the AVX512 payload. Can we check this feature if the "AMX" meta-instruction is selection during the compilePayload step instead?
SapphireRapidsConfig(asmjit::CpuFeatures const &supportedFeatures, | ||
unsigned family, unsigned model, unsigned threads) | ||
: X86PlatformConfig("SKL_XEONEP", 6, {85}, {1, 2}, 0, | ||
{32768, 1048576, 1441792}, 1048576000, 1536, family, |
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.
I assume these values also have not been updated
Added requested changes in master. Update PR branch.
This PR has been closed in favour of #93 |
No description provided.