Skip to content

Instantly share code, notes, and snippets.

@cheshire
Created August 31, 2022 08:09
Show Gist options
  • Save cheshire/f81fd036f07ea9267e3abb8c14c12aec to your computer and use it in GitHub Desktop.
Save cheshire/f81fd036f07ea9267e3abb8c14c12aec to your computer and use it in GitHub Desktop.
ROCm issues
tensorflow/core/profiler/backends/gpu/device_tracer_rocm.cc:1102:27: warning: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Wunused-result]
tensorflow/compiler/xla/stream_executor/rocm/rocm_dnn.cc:599:58: warning: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Wunused-result]
tensorflow/compiler/xla/stream_executor/rocm/rocm_dnn.cc:605:55: warning: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Wunused-result]
tensorflow/compiler/xla/stream_executor/rocm/rocm_dnn.cc:609:56: warning: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Wunused-result]
tensorflow/compiler/xla/stream_executor/rocm/rocm_dnn.cc:4134:25: warning: ignoring returned value of type 'hipError_t', declared with attribute nodiscard [-Wunused-result]
tensorflow/compiler/xla/stream_executor/rocm/rocm_dnn.cc:4163:40: warning: ignoring returned value of type 'hipError_t', declared with attribute nodiscard [-Wunused-result]
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h:133:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
external/eigen_archive/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h:144:7: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:290:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:291:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:292:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:293:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:294:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:295:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
./tensorflow/core/util/gpu_launch_config.h:296:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/common_runtime/gpu/gpu_device.cc:1376:38: warning: ignoring returned value of type 'hipError_t', declared with attribute nodiscard [-Wunused-result]
tensorflow/core/kernels/image/non_max_suppression_op.cu.cc:748:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/image/non_max_suppression_op.cu.cc:763:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/image/non_max_suppression_op.cu.cc:775:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/image/non_max_suppression_op.cu.cc:279:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/image/generate_box_proposals_op.cu.cc:468:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc:340:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc:351:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc:416:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/kernels/dynamic_partition_op_gpu.cu.cc:430:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:157:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:172:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:173:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:209:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:210:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:211:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:212:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:213:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:214:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:215:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:216:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:217:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:218:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:265:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:266:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:267:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:268:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:269:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:270:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:271:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:272:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:273:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:274:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:275:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:298:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:299:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:300:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:301:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:302:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:303:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:304:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:305:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:306:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:307:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:308:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:309:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/util/gpu_kernel_helper_test.cu.cc:325:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
tensorflow/core/profiler/backends/gpu/rocm_tracer.cc:1408:66: error: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Werror=unused-result]
tensorflow/core/profiler/backends/gpu/rocm_tracer.cc:1470:37: error: ignoring returned value of type 'tensorflow::Status', declared with attribute nodiscard [-Werror=unused-result]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment