Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: how to suppress GPU info #578

Open
lipigupta opened this issue Mar 4, 2022 · 1 comment
Open

Question: how to suppress GPU info #578

lipigupta opened this issue Mar 4, 2022 · 1 comment
Labels
documentation Improve documentation good first issue A simple issue that beginning level contributors can manage help wanted

Comments

@lipigupta
Copy link

Describe the problem
I can't find where the following CUDA/GPU information message is generated/flushed to print in order to suppress it.
Tried something simple like tomopy.recon(); but the following info is still output.
Any suggestions on how to suppress or turn this off would be great. Thank you!!
To Reproduce (if applicable)

Detected 4 CUDA capable devices

Device 0: "A100-SXM4-40GB"
  CUDA Driver Version / Runtime Version          11.5 / 11.2
  CUDA Capability Major/Minor version number:    8.0
  Total amount of global memory:                 40537 MBytes (42506321920 bytes)
  GPU Max Clock rate:                            1410 MHz (1.41 GHz)
  Memory Clock rate:                             1215 Mhz
  Memory Bus Width:                              5120-bit
  L2 Cache Size:                                 41943040 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
  Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Multiprocessor count:                          108
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 5 copy engine(s)
  Run time limit on kernels:                     No
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Enabled
  Device supports Unified Addressing (UVA):      Yes
  Device supports Compute Preemption:            Yes
  Supports Cooperative Kernel Launch:            Yes
  Supports MultiDevice Co-op Kernel Launch:      Yes
  Device PCI Domain ID / Bus ID / location ID:   0 / 3 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >




==========================================================================================
Available GPU options:
	INDEX  	KEY           DESCRIPTION                             
	    1  	gpu           Run on GPU (CUDA NPP)                   	(default)

To select an option for runtime, set 'device' parameter to an INDEX or KEY above
==========================================================================================

------------------------------------------------------------------------------------------
Selected device: 	    1  	gpu           Run on GPU (CUDA NPP)                   
------------------------------------------------------------------------------------------


[0] Initialized tasking run manager with 32 threads...
Detected 4 CUDA capable devices

Additional context
Add any other context about the problem here.

@lipigupta lipigupta added the question Troubleshooting requests label Mar 4, 2022
@carterbox
Copy link
Member

This is output from the compiled code. AFAIK, there is no option to silence it.

struct DeviceOption

@carterbox carterbox added documentation Improve documentation good first issue A simple issue that beginning level contributors can manage help wanted and removed question Troubleshooting requests labels Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improve documentation good first issue A simple issue that beginning level contributors can manage help wanted
Projects
None yet
Development

No branches or pull requests

2 participants