How can I find out the number of registers that the cuda kernel uses at runtime? I know how to find out information at compile time, but I donβt want to specify numbers in
thanks
I do not think CUDA 2.x cannot get information at runtime. Looking at the documentation for the new version 3.0, it seems that cudaFuncGetAttributes will do what you want.
I think the one you see in compilations is the one that will be used at runtime, or at least the maximum number of registers used at runtime.
Source: https://habr.com/ru/post/1722890/More articles:Build and deploy Windows services automatically - tfsAn open source library for sending emails via gmail (smtp.gmail.com) using SMTPS (TLS) - c ++Problem installing iphone modules - iphonesending email using gmail smtp (secure layer) in C ++ - c ++Assigning to a pointer immediately after deletion - c ++Capturing a window using WPF - c #Google Analytics is my second profile for an existing non-tracking domain - google-analyticsUsing controls from one form to another - c #How to transfer objects between windows in C # - c #ActionScript 3 mouseover passthough (ignore mouse events) - actionscriptAll Articles