From 287fe0aa17ec1ac5bdd595ca6e89aa97464bcac7 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Tue, 18 Feb 2025 10:29:07 -0500 Subject: A bunch of maintenance fixes, the largest of which is getting the PTX simulation to work with CUDA 12. (#95) * Fixing the formatter to always use a consistent format and running it on the codebase * Update linux-so-version.txt * Update Makefile * A couple of unnecessary files that are lingering around * Support CUDA 12 * Getting the PTX simulations to work with CUDA 12. The issue is that ptxas added more information (number of barriers and compile time). We have to parse these or lexx/yacc fail. * Update ptxinfo.l debug MACRO was ineffective * Update gpgpusim_check.cmake Update to make the CUDA version print a warning, not an error and updating the print to be more reflective of what the actual problem is. --- gpgpusim_check.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gpgpusim_check.cmake') diff --git a/gpgpusim_check.cmake b/gpgpusim_check.cmake index 486d66d..7adf342 100644 --- a/gpgpusim_check.cmake +++ b/gpgpusim_check.cmake @@ -63,8 +63,8 @@ else() message(CHECK_PASS "${CUDAToolkit_NVCC_EXECUTABLE}") message(CHECK_START "Checking CUDA compiler version") message(CHECK_PASS "${CUDAToolkit_VERSION}") - if((CUDAToolkit_VERSION VERSION_LESS 2.0.3) OR (CUDAToolkit_VERSION VERSION_GREATER 11.10.0)) - message(FATAL_ERROR "GPGPU-Sim ${CMAKE_PROJECT_VERSION} not tested with CUDA version ${CUDAToolkit_VERSION} (please see README)") + if((CUDAToolkit_VERSION VERSION_LESS 2.0.3) OR (CUDAToolkit_VERSION VERSION_GREATER 13.0.0)) + message(WARNING "GPGPU-Sim not tested with CUDA version ${CUDAToolkit_VERSION} (please see README)") endif() endif() @@ -132,4 +132,4 @@ list(POP_BACK CMAKE_MESSAGE_INDENT) message(CHECK_PASS "done") message(STATUS "Be sure to run 'source setup' " "before you run CUDA program with GPGPU-Sim or building with external " - "simulator like SST") \ No newline at end of file + "simulator like SST") -- cgit v1.3