| Age | Commit message (Collapse) | Author |
|
* migrate_cmake: add package dependency checking
* migrate_cmake: port setup_environment to CMake
* migrate_cmake: break dependency checking and env export gen to different .cmake files
* migrate_cmake: use CUDAToolkit_FOUND to test for CUDA compiler
* migrate_cmake: use CUDAToolkit_FOUND to test for CUDA compiler
* migrate_cmake: use CUDAToolkit_FOUND to test for CUDA compiler
* migrate_cmake: properly parse for cuda version number
* migrate_cmake: set highest CUDA supported to be 11.10.x
* migrate_cmake: specify top level CMake file
* migrate_cmake: add libcuda cmake file
* migrate_cmake: use global compiler options and definitions
* migrate_cmake: add cmake file to src
* migrate_cmake: add cmake files for cuda-sim folder
* migrate_cmake: add cmake files to gpgpu-sim folder
* migrate_cmake: add cmake files for intersim
* migrate_cmake: add short test using cmake
* migrate_cmake: bump CXX standard requirement to 17
* Add cmake files for accelwattch
* migrate_cmake: remove use of GLOB to grab source files
* migrate_cmake: comment out the write protection on generated instructions.h
* migrate_cmake: create sym folder and add newline to generated setup file
* migrate_cmake: fix some path issues
* migrate_cmake: let cmake thinks flex and bison generate CXX files
* migrate_cmake: fix not linking pthread properly
* migrate_cmake: remove debug message
* migrate_cmake: add empty libopencl cmake file
* migrate_cmake: install phase and runtime version detect
* 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
* Typo fix and fix correct bin dir
* Replace gcc -> g++ in intersim
* ignore setup
* check CMAKE_BUILD_TYPE
* set DCMAKE_BUILD_TYPE
---------
Co-authored-by: JRPAN <[email protected]>
|
|
|
|
v2: Adhere to alignment requirements.
v3: Small style fix.
Signed-off-by: Roy Spliet <[email protected]>
|
|
Signed-off-by: Roy Spliet <[email protected]>
|
|
Assumes everything is ok, even if it isn't. Allows for some Rodinia
benchmarks to fail slightly later.
v2: Use available case macros.
Signed-off-by: Roy Spliet <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
Signed-off-by: Mengchi Zhang <[email protected]>
|
|
There are several problems with this:
1) To get proper occupancy, based on register file usage, you must querry ptxas with
the sm version that corresponds to the register usage in the config file. To enable this,
a new config option has been added that determines what sm version you pass to ptxas to compute reg-usage.
This configuration option is always required in the gpgpusim.config file
2) If you are running PTXPLUS with a modern card (i.e. volta/pascal), you need ptxas from CUDA 9.1.
However since PTXPLUS only supports sm_13 - you need a version of CUDA where cudaobjectdump
supports sm_1x. This ended at CUDA 5 - and PTXPLUS requires CUDA 4.2. Therefore, to run PTXPLUS
on a modern card, you need CUDA 4.2 + modern CUDA installed. To fascilitate this, a new envronment
varaible is added and the setup envrionment script prints an appropraite warning if you are using a newer CUDA.
We have tried to make this as fail-proof as possible - and die appropraitely when something is wrong.
|
|
|
|
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16505]
|
|
generated go in a directory independent of the source directory
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 16503]
|
|
does not specify error pointer)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15970]
|
|
Review ID: 27001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15969]
|
|
external C linkage
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15912]
|
|
property in the proper size. Also added code to determine the workgroup size automatically.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15798]
|
|
to match OpenCL 1.1 and later. The API call now accepts device types besides CL_DEVICE_TYPE_GPU.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15796]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15218]
|
|
pointer.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 15043]
|
|
will automatically compile the OpenCL kernels on the NVIDIA platform.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14558]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14554]
|
|
Fixed clCreateProgramWithSource to accept NULL or 0 as string length parameter
Fixed replacement of printf modifiers when compiling OpenCL code (e.g. '%f')
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14391]
|
|
the nvidia opencl wraper expects and what our opencl_runtime_api provides.
This was causing us to print grabage in the dumped ptx files generated by calls to oclPtxLog and valgrind complains about it.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13837]
|
|
generic memory space. Also adding a define to allow support for OpenCL 1.0 commands that are deprecated in OpenCL 1.1.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13722]
|
|
- Now there is only one macro for all use of unordered_map in the code.
- Moving all instances of gcc/cuda version detection into a single file.
- Adding a warning when the fallback is triggered.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13542]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13293]
|
|
makedepend generates the dependencies in Makefile.makedepend that is generated dynamically and cleaned with "make clean"
Next step is to use gcc's "-M" option and get rid of makedepend altogether.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13292]
|
|
If a kernel made modidifcations to the .cl code at runtime (like changed the block size or some other constants) then recompiled itself the saved_embedded_ptx
would just get overwritten. Same on using the prebuilt ptx file - I always wanted to load the same ptx file even though there should have been more than one.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13217]
|
|
Adding -DCUDART_VERSION to CXXFLAGS
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12253]
|
|
1. Adds support for using cuobjdump for both ptx and ptxplus execution. This has been tested with CUDA 4.0
. Ptxplus is no longer supported through decuda/decuda_to_ptxplus
2. Adds support for converting the SASS output by cuobjdump to ptxplus. This has been tested with CUDA 4.0
. The old path that extracts ptx from cubin files is still preserved
3. Adds a bank group model. (WARNING: memory config has changed, please adapt yours). To disable the bank groups model, set nbkgrp to 1 and tCCDL and tRTPL to 0
Diff the configuration files to learn about how to use those new options.
Merging
//depot/gpgpu_sim_research/fermi-test/distribution/...
to //depot/gpgpu_sim_research/fermi/distribution/...
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12023]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11311]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11065]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11053]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11052]
|
|
Now, you have to define both NVOPENCL_LIBDIR and NVOPENCL_INCDIR in the setupd_environment script to build with opencl. If any of them is not setup, gpgpu-sim will build will output a warning and built without opencl support.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10873]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10753]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10478]
|
|
$CUDAHOME and replacing them with $CUDA_INSTALL_PATH. Removing all
instances of $NVIDIA_CUDA_SDK_LOCATION with $NVIDIA_COMPUTE_SDK_LOCATION.
- Some additions/changes to the README file to make it a little more
intuitive.
- Default values added to setup_environment to make things easier for the
average user.
- My first perforce submit :D
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10401]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10090]
|
|
applications to run. Some of these modifications are temporary or incomplete and will be modified as necessary.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9942]
|
|
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9764]
|
|
for multiple configs of the built simulator to exist at one time. Now you no longer have to clean build when changing from debug to release configs it also eliminates the possibility of having a fraken-file where some objects are in debug and some are in release.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 9743]
|
|
Parameters are finalized at kernel launch, which means the contents
of parameter memory are initialized. Kernel arguement names have a
fixed order, hence same address should be assigned on subsequent
kernel launches of same kernel in other streams provided the data size
param_t::size of arguments for each kernel launch is identical (an
assertion has been added to check this is true).
- passing regression
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 8303]
|