From a2a3bcc12ef738b749977ee81d9580a405b0a43c Mon Sep 17 00:00:00 2001 From: Cory Barr Date: Tue, 3 Oct 2023 13:59:08 -0700 Subject: [PATCH] remove some console info --- src/core/src/FabricProceduralGeometry.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/core/src/FabricProceduralGeometry.cpp b/src/core/src/FabricProceduralGeometry.cpp index d3d3b47a0..7515f0f59 100644 --- a/src/core/src/FabricProceduralGeometry.cpp +++ b/src/core/src/FabricProceduralGeometry.cpp @@ -242,8 +242,8 @@ void CudaRunner::init(const char* kernelCodeDEBUG, const char* kernelFunctionNam std::cout << "error: could not create CUDA context." << std::endl; throw std::runtime_error("ERROR"); } - auto threadId = std::this_thread::get_id(); - std::cout << "Initial thread ID: " << threadId << std::endl; + // auto threadId = std::this_thread::get_id(); + // std::cout << "Initial thread ID: " << threadId << std::endl; //print the numbers of SMs int numDevices; @@ -334,10 +334,9 @@ bool CudaRunner::runKernel(void** args, size_t elemCount) { CUcontext currentContext; cuCtxGetCurrent(¤tContext); if (currentContext != _context) { - std::cout << "Warning: Context has changed." << std::endl; - auto threadId = std::this_thread::get_id(); - std::cout << "Current thread ID: " << threadId << std::endl; - + std::cout << "Warning: CUDA Context has changed. Resetting." << std::endl; + // auto threadId = std::this_thread::get_id(); + // std::cout << "Current thread ID: " << threadId << std::endl; cuCtxSetCurrent(_context); }