// Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. #include "paddle/fluid/platform/monitor.h" namespace paddle { namespace platform {} // namespace platform } // namespace paddle DEFINE_INT_STATUS(STAT_total_feasign_num_in_mem) DEFINE_INT_STATUS(STAT_gpu0_mem_size) DEFINE_INT_STATUS(STAT_gpu1_mem_size) DEFINE_INT_STATUS(STAT_gpu2_mem_size) DEFINE_INT_STATUS(STAT_gpu3_mem_size) DEFINE_INT_STATUS(STAT_gpu4_mem_size) DEFINE_INT_STATUS(STAT_gpu5_mem_size) DEFINE_INT_STATUS(STAT_gpu6_mem_size) DEFINE_INT_STATUS(STAT_gpu7_mem_size) DEFINE_INT_STATUS(STAT_gpu8_mem_size) DEFINE_INT_STATUS(STAT_gpu9_mem_size) DEFINE_INT_STATUS(STAT_gpu10_mem_size) DEFINE_INT_STATUS(STAT_gpu11_mem_size) DEFINE_INT_STATUS(STAT_gpu12_mem_size) DEFINE_INT_STATUS(STAT_gpu13_mem_size) DEFINE_INT_STATUS(STAT_gpu14_mem_size) DEFINE_INT_STATUS(STAT_gpu15_mem_size) // For Ascend NPU DEFINE_INT_STATUS(STAT_npu0_mem_size) DEFINE_INT_STATUS(STAT_npu1_mem_size) DEFINE_INT_STATUS(STAT_npu2_mem_size) DEFINE_INT_STATUS(STAT_npu3_mem_size) DEFINE_INT_STATUS(STAT_npu4_mem_size) DEFINE_INT_STATUS(STAT_npu5_mem_size) DEFINE_INT_STATUS(STAT_npu6_mem_size) DEFINE_INT_STATUS(STAT_npu7_mem_size) // For MLU DEFINE_INT_STATUS(STAT_mlu0_mem_size) DEFINE_INT_STATUS(STAT_mlu1_mem_size) DEFINE_INT_STATUS(STAT_mlu2_mem_size) DEFINE_INT_STATUS(STAT_mlu3_mem_size) DEFINE_INT_STATUS(STAT_mlu4_mem_size) DEFINE_INT_STATUS(STAT_mlu5_mem_size) DEFINE_INT_STATUS(STAT_mlu6_mem_size) DEFINE_INT_STATUS(STAT_mlu7_mem_size) DEFINE_INT_STATUS(STAT_mlu8_mem_size) DEFINE_INT_STATUS(STAT_mlu9_mem_size) DEFINE_INT_STATUS(STAT_mlu10_mem_size) DEFINE_INT_STATUS(STAT_mlu11_mem_size) DEFINE_INT_STATUS(STAT_mlu12_mem_size) DEFINE_INT_STATUS(STAT_mlu13_mem_size) DEFINE_INT_STATUS(STAT_mlu14_mem_size) DEFINE_INT_STATUS(STAT_mlu15_mem_size)