From 8e60af133d30c2a57778338c24db30ec9f8dc863 Mon Sep 17 00:00:00 2001 From: Jason Villarreal Date: Fri, 5 Jun 2026 13:23:32 -0700 Subject: [PATCH] Commenting out unused parameters Signed-off-by: Jason Villarreal --- .../device_offload/opencl/opencl_device_info_plugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/profile/plugin/device_offload/opencl/opencl_device_info_plugin.cpp b/profile/plugin/device_offload/opencl/opencl_device_info_plugin.cpp index efc1be71..a8aa78b3 100644 --- a/profile/plugin/device_offload/opencl/opencl_device_info_plugin.cpp +++ b/profile/plugin/device_offload/opencl/opencl_device_info_plugin.cpp @@ -92,7 +92,7 @@ namespace xdp { // when called and we don't want to actually do anything } - void OpenCLDeviceInfoPlugin::writeAll(bool openNewFiles) + void OpenCLDeviceInfoPlugin::writeAll(bool /*openNewFiles*/) { // Intentionally left blank so we don't call the base class function // when called and we don't want to actually do anything @@ -101,14 +101,14 @@ namespace xdp { // This function will only be called if an active device is going to // be reprogrammed. We can assume the device is good before the call // and bad after this call (until the next update device) - void OpenCLDeviceInfoPlugin::flushDevice(void* d) + void OpenCLDeviceInfoPlugin::flushDevice(void* /*d*/) { // Intentionally left blank so we don't call the base class function. // This plugin no longer communicates with the actual device so // there is no information to be flushed. } - void OpenCLDeviceInfoPlugin::updateDevice(void* d, bool hw_context_flow) + void OpenCLDeviceInfoPlugin::updateDevice(void* d, bool /*hw_context_flow*/) { if (getFlowMode() == SW_EMU){ updateSWEmulationGuidance() ; @@ -145,7 +145,7 @@ namespace xdp { (db->getStaticInfo()).setDeviceName(deviceId, device->getName()) ; } - void OpenCLDeviceInfoPlugin::updateOpenCLInfo(uint64_t deviceId) + void OpenCLDeviceInfoPlugin::updateOpenCLInfo(uint64_t /*deviceId*/) { // The argument list is now available due to the parsing of the // SYSTEM_METADATA section, so we don't need to update it based off of