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. --- src/accelwattch/xmlParser.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/accelwattch/xmlParser.cc') diff --git a/src/accelwattch/xmlParser.cc b/src/accelwattch/xmlParser.cc index 780d2ad..9f01ebe 100644 --- a/src/accelwattch/xmlParser.cc +++ b/src/accelwattch/xmlParser.cc @@ -85,10 +85,10 @@ #endif #include "xmlParser.h" #ifdef _XMLWINDOWS -//#ifdef _DEBUG -//#define _CRTDBG_MAP_ALLOC -//#include -//#endif +// #ifdef _DEBUG +// #define _CRTDBG_MAP_ALLOC +// #include +// #endif #define WIN32_LEAN_AND_MEAN #include // to have IsTextUnicode, MultiByteToWideChar, WideCharToMultiByte to handle unicode files // to have "MessageBoxA" to display error messages for openFilHelper @@ -3241,7 +3241,7 @@ XMLSTR XMLParserBase64Tool::encode(unsigned char *inbuf, unsigned int inlen, *(curr++) = base64EncodeTable[j >> 18]; *(curr++) = base64EncodeTable[(j >> 12) & 0x3f]; *(curr++) = base64EncodeTable[(j >> 6) & 0x3f]; - *(curr++) = base64EncodeTable[(j)&0x3f]; + *(curr++) = base64EncodeTable[(j) & 0x3f]; if (formatted) { if (!k) { *(curr++) = _CXML('\n'); -- cgit v1.3