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

Intergration of new transpiler with C++ full support #749

Conversation

vyast-softserveinc
Copy link

Description

This pull request is aimed for integration occa-transpiler library for providing full C++ support under the OCCA

Added:

  • option for switching between old & new transpiler transpiler-version
  • minor code improvments

vyast-softserveinc and others added 30 commits March 5, 2024 19:43
Clang 12 is no longer available in GitHub's Ubutntu 22.04 runner.
* [HIP] Remove some compile-time backward compatibility switches

* [HIP] Bump supported HIP version to v4.2 or later
The environment variable `SYCL_DEVICE_FILTER` used by the oneAPI SDK is deprecated, causing some tests to fail.
Intended for CMake builds which add occa as a subdirectory.
…sary. Add an option to only generate jit kernel related code for the new number of kernel arguments and leave others to the default value for compile time efficiency (libocca#725)
* Refactor OpenCL utilities and device creation.

* Update OpenCL default device type.

* Only run math function test for active modes.

* Update GitHub workflows.

* Remove OpenCL from math function tests.
Without this, CUDA::cuda_driver target is not linked to libocca during
consumption and as a result there is a build problem: libcuda.so cannot
be found. This occurs on machines which do not have CUDA lib default,
 compiler included libraries (e.g. in /lib64)
@vyast-softserveinc
Copy link
Author

vyast-softserveinc commented Apr 2, 2024

@kris-rowe is it possible to setup the llvm 17 for the images?
This update depends on the clang 17. The reference for setup from the occa-transpiler is the following:
https://github.com/libocca/occa-transpiler/tree/devel?tab=readme-ov-file#setup-llvm

@kris-rowe
Copy link
Member

@kris-rowe is it possible to setup the llvm 17 for the images? This update depends on the clang 17. The reference for setup from the occa-transpiler is the following: https://github.com/libocca/occa-transpiler/tree/devel?tab=readme-ov-file#setup-llvm

We are doing something similar in the GitHub actions to test the oneAPI compilers (here). Does it make sense to test the transpiler for all of the configurations we currently do or only a subset?

@vyast-softserveinc
Copy link
Author

By the last commits I made optional building . So I think it would be enough to make it for single configuration.

@vyast-softserveinc
Copy link
Author

This PR is out of date. new implementation with the #756 is provided instead

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.

None yet

8 participants