-
Notifications
You must be signed in to change notification settings - Fork 65
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
Migrate gpgpu-sim build system to cmake #66
Conversation
…ibution into migrate_cmake
…ibution into migrate_cmake
I can update the docker image. |
Actually just updated it lol. It's building now. But why not adding this to the front end (Accel-Sim) directly? I would assume we probably would still keep the |
Yeah, I am planning to add cmake support for accel-sim as well. The problem with just adding cmake to accel-sim is that generally it is not a good practice to mix up |
Okay the build is good but I did not create enough symlinks for the different so versions. Will fix this by adding an install target. |
btw did you ask Tim? I wonder if he supports this. |
* Added install phase to install the shared object and add symlinks * Changes with CUDA toolkit will be detected and triggered a rebuild * GPGPU-Sim detailed version string will be updated on each build
Not sure if we will still keep the OpenCL and ptxplus parts, but it will be trivial to add build files to those. |
In the Cmake the parser is being built with C++ I think. So the "extern" keywords need to be removed otherwise |
accel-sim#279
Currently most of gpgpu-sim components can be built with CMake, except for:
Also, some small modifications need to be made, like:
Couple of things need to be taken care of:
instruction.h
incuda-sim
, need to usechmod a-w
due to potentialumask
settingThe build is tested with rodinia-2.0 and RTX2060 config. I have also prepared the GitHub action script (
cmake.yml
) to run the CI test but it will fail since cmake is missing in the docker image.What it will look like right now: