Skip to content

Commit 1eb7a13

Browse files
committed
refactor: remove debug printf
1 parent 787ac7e commit 1eb7a13

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

rtp_llm/cpp/cuda/allocator_cuda.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ Allocator<AllocatorType::CUDA>::~Allocator() {
101101

102102
void* Allocator<AllocatorType::CUDA>::mallocPhysical(size_t size) {
103103
RTP_LLM_LOG_DEBUG("malloc physical memory with size %lu\n", size);
104-
printf("malloc physical %lu\n", size);
105104
auto address = doMallocSync(size);
106105
if (!address) {
107106
return nullptr;

rtp_llm/cpp/cuda/cutlass/cutlass_extensions/include/cutlass_extensions/gemm/kernel/fused_moe_kernel.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ __global__ void run_global(__grid_constant__ typename GemmType::Params const par
176176

177177
/// Computes the maximum number of active blocks per multiprocessor
178178
template <typename GemmType>
179-
static int fused_gemm_maximum_active_blocks(int smem_capacity = -1)
179+
static int (int smem_capacity = -1)
180180
{
181181

182182
CUTLASS_TRACE_HOST("BaseGrouped::maximum_active_blocks()");

rtp_llm/cpp/devices/BufferManager.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ BufferPtr BufferManager::doAllocate(const BufferParams& params, const BufferHint
7070
accumulate(shape.begin(), shape.end(), (size_t)1, std::multiplies<size_t>()) * getTypeSize(params.type);
7171

7272
if (params.vmem_ctl == VmemCtl::ForcePhysical) {
73-
printf("Calling here\n");
7473
if (auto vmem_allocator = dynamic_cast<IVirtualMemAllocator*>(allocator)) {
75-
printf("Calling here 2\n");
7674
const auto data = vmem_allocator->mallocPhysical(alloc_bytes);
7775
const auto deleter = [this, vmem_allocator](Buffer* buffer) { this->recycle(buffer, vmem_allocator); };
7876
const auto buffer = new Buffer(vmem_allocator->memoryType(), params.type, shape, data, deleter);

0 commit comments

Comments
 (0)