If the kernel goes past a few seconds, the driver watchdog will abort it to keep the display from freezing for too long. The device can’t update the GUI display while a CUDA kernel is running, so if you have long kernels, the display will be very jumpy.The GUI will use some of the device memory, so CUDA programs can’t use as much.You can do both on the same card at the same time, with only a few drawbacks: Again, if you want to selectively ‘disable’ cards from CUDA being used, just do it with the CUDA_VISIBLE_DEVICES environment variable.Īs vacaloca is saying, there is very little difference between a CUDA-capable device running your display and a CUDA-capable device running CUDA programs. If a CUDA compatible card is installed, and you’ve already configured the toolkit, CUDA will be available always. (3) Not sure what ‘CUDA mode’ implies here. If you run deviceQuery after setting that variable to hide a GPU, you’ll see it will not show up. Even if you can’t disable the slot, the CUDA_VISIBLE_DEVICES environment variable lets you make a card ‘invisible’ as far as CUDA programs are concerned. (2) If you’re able to disable a physical slot from your BIOS, then yes, the card in that slot will show up to the O/S, thus meaning it will be like it is ‘invisible’, I believe disabling a slot actually does just that, sets an option that physically does not send power to the slot. To use both at the same time requires corresponding logic in your CUDA code. If you mean CUDA-wise, both cards should be ‘available’ by default for use by CUDA programs… if deviceQuery sees it, it’s available for use. I’m not familiar if one would be able to use two cards to drive 2 or more different screens if that’s what you’re asking. The primary card as determined by your motherboard will show video, and will be the card you can plug in display devices to. (1) It depends on what you mean by ‘use’. Ubuntu, with Linux 3.2.020-generic (recovery mode) Ubuntu, with Linux 3.2.020-generic (CUDA mode) (3) If I have only one card, is there a simple way to add a boot entry, like: (2) If one id disdabled from BIOS is the HW disabled altogether so that CUDA can’t access it either? (1) If both are enabled in BIOS, does Linux “automagically” use them both? I wasn’t after dynamical switching, but I was wondering:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |