Skip to content
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

Make intrinsics module searching more robust #114

Open
wants to merge 81 commits into
base: master
Choose a base branch
from

Conversation

romanovvlad
Copy link

Portable(or embedded) versions of python don't have the script
directory in the module search path by default. So, adding the
expected module directory in the script itself allows the script
work correctly even with such versions of python.

DmitryBushev and others added 30 commits March 23, 2021 18:40
CMEntry attribute now is passing through CM Adaptor and is
converted to VCFCEntry
Add gitignore. Update licences.
Added new GenXVersion.h file that contains up-to-date commit hash
and repository url that sources came from.
Replacing usage of cmake variable not defined if built in-tree
Fix problem causing git version not being collected
Fix version retrive fail when building from GenXIntrinsics directory
directly
Move add_definitions and include_directories to intrinsics CMake
from other places.
Use getNameNoUnnamedTypes for LLVM tot to avoid buildbreak.
Now every intrinsic has list of suported platforms.
write_predef_surface is main intrinsic to initialize %bss. Other
intrinsics are duplicates of original intrinsics with ability to work
with %bss variable.
update Python copyright to PEP8 style
SPIRVAdaptor passes didn't properly handle the pointer attributes when rewiting
types in kernel signature leading to module verification failure
aus-intel and others added 27 commits December 22, 2021 14:00
VC always uses simd1 mode with separate intrinsics.
Remove unused wrapper to fix buildfail because of attribute removal
API change. New class was added in D116110 and wrapping of this case
is not trivial so removal of unneeded function is the easiest
solution.
Fix an issue where GenXIntrinsicDescription.gen is included without
including map header.
dyn_extract implies that nullptr can be returned, while in this case
we need a more strict check.
Set some tests to XFAIL on latest LLVM 15
GenXSingleElementVectorUtil did not forward metadata and attributes
for call instructions with SEV. This commit fixes it.
Add add3 with carry intrinsic
Remove XFAIL from some tests
named barrier required for DPC++ and other customers
Use VCIntrinsics<LLVMVersion> naming scheme for exported package to
solve two issues:

1. Exported package does not have LLVM prefix to express that this is
not LLVM project code.
2. Exported package has explicit LLVM version in name so potential
errors with LLVM versions mismatch can be caught earlier.

Old LLVMGenXIntrinsics export is left for backward compatibility. It
will be removed later.
This was a source of build errors at least once.
Unify handling of intrinsics interface includes in both modes.
 * add one missing caching behavior (.ca)
 * separate caching documentation for loads and stores
Fill debug values in created instructions
add PVCXT_A0 platform and refactor the list initialization to
simplify maintenance
Add some functions to get LSC special argument indices.
Add function to get encoded LSCVectorSize.
External intrinsics order is expected to be unchanged to keep SPIR-V
compatibility.
Build might fail because of `-Werror -Wcovered-switch-default` options
passed to gcc and clang
Correctly handle LSC 2d stateless intrinsics
IGC build used to fail because of warnings/errors emitted by gcc
Toolchain build used to fail when LLVM_LINK_LLVM_DYLIB is enabled
Portable(or embedded) versions of python doesn't have the script
directory in the module search path by default. So, adding expected
module directory in the script itself allows the script to work
correctly even with such versions of python.
@romanovvlad
Copy link
Author

@vmustya FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.