diff options
| author | Tim Rogers <[email protected]> | 2025-02-18 10:29:07 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-18 15:29:07 +0000 |
| commit | 287fe0aa17ec1ac5bdd595ca6e89aa97464bcac7 (patch) | |
| tree | cf52817b95b99f61cf494af5536e32bf6d2889e3 /src/accelwattch/processor.cc | |
| parent | 7934dfea8a6f44f592866414189970ef9ff994d6 (diff) | |
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.
Diffstat (limited to 'src/accelwattch/processor.cc')
| -rw-r--r-- | src/accelwattch/processor.cc | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/src/accelwattch/processor.cc b/src/accelwattch/processor.cc index d5c7cdd..a86b96d 100644 --- a/src/accelwattch/processor.cc +++ b/src/accelwattch/processor.cc @@ -664,24 +664,22 @@ void Processor::displayDeviceType(int device_type_, uint32_t indent) { switch (device_type_) { case 0: - cout << indent_str << "Device Type= " - << "ITRS high performance device type" << endl; + cout << indent_str + << "Device Type= " << "ITRS high performance device type" << endl; break; case 1: - cout << indent_str << "Device Type= " - << "ITRS low standby power device type" << endl; + cout << indent_str + << "Device Type= " << "ITRS low standby power device type" << endl; break; case 2: - cout << indent_str << "Device Type= " - << "ITRS low operating power device type" << endl; + cout << indent_str + << "Device Type= " << "ITRS low operating power device type" << endl; break; case 3: - cout << indent_str << "Device Type= " - << "LP-DRAM device type" << endl; + cout << indent_str << "Device Type= " << "LP-DRAM device type" << endl; break; case 4: - cout << indent_str << "Device Type= " - << "COMM-DRAM device type" << endl; + cout << indent_str << "Device Type= " << "COMM-DRAM device type" << endl; break; default: { cout << indent_str << "Unknown Device Type" << endl; |
