I am using cuda c in visual studio. for checking the memory I use cuda-memccheck . while going through some sites I found that cudagrind of valgrind provides much more details of the error of memory.and further this is my misunderstanding or what I found it can be only used in linux system. Am I right?? or can cudagrind be applied in windows to check the memory error???
109594
I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux - I have no other need or interest in moving my OS to Linux so I was wondering if there is a equally good program for Windows.
44678
The standard files/tools that report memory seem to have different formats on different Linux distributions. For example, on Arch and Ubuntu.   Arch  $ free               total        used        free      shared  buff/cache   available Mem:        8169312     3870392     2648348       97884     1650572     4110336 Swap:      16777212      389588    16387624   $ head /proc/meminfo  MemTotal:        8169312 kB MemFree:         2625668 kB MemAvailable:    4088520 kB Buffers:          239688 kB Cached:          1224520 kB SwapCached:        17452 kB Active:          4074548 kB Inactive:        1035716 kB Active(anon):    3247948 kB Inactive(anon):   497684 kB  Ubuntu  $ free              total       used       free     shared    buffers     cached Mem:      80642828   69076080   11566748    3063796     150688   58358264 -/+ buffers/cache:   10567128   70075700 Swap:     20971516    5828472   15143044   $ head /proc/meminfo  MemTotal:       80642828 kB MemFree:        11565936 kB Buffers:          150688 kB Cached:         58358264 kB SwapCached:      2173912 kB Active:         27305364 kB Inactive:       40004480 kB Active(anon):    7584320 kB Inactive(anon):  4280400 kB Active(file):   19721044 kB    So, how can I portably (across Linux distros only) and reliably get the amount of memory—excluding swap—that is available for my software to use at a particular time? Presumably that's what's shown as "available" and "MemAvailable" in the output of free and cat /proc/meminfo in Arch but how do I get the same in Ubuntu or another distribution?
28716
Why does my server show              total      used      free   shared buffers    cached     Mem: 12286456  11715372    571084        0   81912   6545228 -/+ buffers/cache:  5088232   7198224    Swap: 24571408     54528  24516880   I have no idea on calculating the memory in linux. I think it says that 5088232 is used where as 7198224 is free, meaning it is actually consuming 5GB of RAM?
1699
Is there a way to determine how many cores a machine has from C/C++ in a platform-independent way? If no such thing exists, what about determining it per-platform (Windows/*nix/Mac)?
45900
I have installed Ubuntu on, but now I am trying to install NVIDIA CUDA Toolkit for the GPU. When I install it, it says that there is no driver found, so I have tried to install the driver, but I don't know why after installation, the system not coming up. Maybe it is because of the wrong version of the driver.   When I tried to detect the driver version using sudo lshw -C display , it showed this information:    But here it doesn't say that what is the product name of the driver, and also when I go Software &amp; Updates -> Additional Drivers, then it says NVIDIA Corporation: Unknown.    What should I do?
12769
Recently, I noticed some people mentioning that std::list::size() has a linear complexity. According to  , this is in fact implementation dependent as the standard doesn't say what the complexity has to be. The comment  says:     Actually, it depends on which STL you   are using. Microsoft Visual Studio V6   implements size() as {return (_Size);   } whereas gcc (at least in versions   3.3.2 and 4.1.0) do it as { return std::distance(begin(), end()); } The   first has constant speed, the second   has o(N) speed    So my guess is that for the VC++ crowd size() has constant complexity as Dinkumware probably won't have changed that fact since VC6. Am I right there? What does it look like currently in gcc? If it is really O(n), why did the developers choose to do so?
86696
After visiting this page:    I don't know if my MacBook Pro is suitable for CUDA developement. After About This Mac I see this:    It does not seems to be a graphic card in this list:   But I asked several times before buying this machine if it is capable for gpu stuffs. And I can correctly runs program that uses shaders. And, more important, I have installed CUDA driver and toolkit and they doesn't seems to give any error. But If I try to compile manually something with CUDA.. it doesn't work.
9772
I am using Blender 2.77 and an R7 250 GPU on Windows.  Compute Device >> OpenCL (Oland).  OpenSubdiv >> (Tested with all).  Device >> GPU Compute.
24432
If we can access (64*4) 256Kb of memory at a time in 8086 and you can move those segments around, what is the use of the remaining memory? Some say that we can move around the segments but what is the benefit of moving around the segments? Still we can't use the whole memory...
53399
Is there way to determine using standard Linux/Unix tools how much a process has spent in User mode and how much waiting for kernel?  In other words, exactly the "user" and "sys" values that you get when using time, but during process runtime?  NOTE: one way is to use WBEM and enumerate Linux_UnixProcess, but I need to use other tool than this; my aim is to verify what WBEM provider tells me, i.e. I need to use different tool.
99144
I am working on Linux with the GCC compiler. When my C++ program crashes I would like it to automatically generate a stacktrace.  My program is being run by many different users and it also runs on Linux, Windows and Macintosh (all versions are compiled using gcc).  I would like my program to be able to generate a stack trace when it crashes and the next time the user runs it, it will ask them if it is ok to send the stack trace to me so I can track down the problem. I can handle the sending the info to me but I don't know how to generate the trace string. Any ideas?
107881
Is there a way to check the size of the video memory? Specifically, is there one that works accurately for both integrated GPU's as well as PCI/AGP graphics cards?  Many integrated GPU's have dynamically allocated memory, so the solution would hopefully return either the maximum available video memory or the currently allocated amount. For stand-alone NVidia or ATI cards it would obviously return the total amount of physical GPU RAM.  lspci -v does output memory figures, but I do not believe it is the video memory. I suspect the figure reported is some system memory allocation or block or channel size, but I don't know for sure. You can see in these  that lspci was wrong in 5 of the 6 tests:  ** ASUS EN210 PCIe - 1024 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 210] (rev a2)         Subsystem: ASUSTeK Computer Inc. Device 8354         Memory at e3000000 (32-bit, non-prefetchable) [size=16M]         Memory at d0000000 (64-bit, prefetchable) [size=256M]         Memory at e0000000 (64-bit, prefetchable) [size=32M]  *** Galaxy 8400GS PCIe - 512 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)     Subsystem: nVidia Corporation Device 05cc     Region 0: Memory at e4000000 (32-bit, non-prefetchable) [size=16M]     Region 1: Memory at d0000000 (64-bit, prefetchable) [size=256M]     Region 3: Memory at e2000000 (64-bit, non-prefetchable) [size=32M]  *** VirtualBox VM - 10 Mb (headless server) ***   00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter         Memory at e0000000 (32-bit, prefetchable) [size=16M]  *** VirtualBox VM - 128 Mb ***   00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter (prog-if 00 [VGA Controller])         Memory at e0000000 (32-bit, prefetchable) [size=128M]  *** S3 Savage 4 AGP - unknown Mb (old lspci log), but I don't think they made these cards with 128Mb memory! ***   00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 06) (prog-if 00 [VGA controller])     Subsystem: IBM Unknown device 01c5     Region 0: Memory at feb80000 (32-bit, non-prefetchable) [size=512K]     Region 1: Memory at f0000000 (32-bit, prefetchable) [size=128M]  *** NVIDIA Quadro FX 1800 integrated - 1024 Mb ***   01:00.0 VGA compatible controller: nVidia Corporation GT215 [Quadro FX 1800M] (rev a2) (prog-if 00 [VGA controller])     Subsystem: Dell Device 040c     Memory at e2000000 (32-bit, non-prefetchable) [size=16M]     Memory at d0000000 (64-bit, prefetchable) [size=256M]     Memory at e0000000 (64-bit, prefetchable) [size=32M]
28724
Until now until Blender 2.83.4 my GPU NVIDIA GeForce GTX TITAN X 12288 MB is recognized via CUDA. With Blender 2.90 and Blender 2.90.1 no GPU is seen, also not under CUDA. What is wrong? I'am therefor still working with 2.83.4 My computer Mac Pro (mid 2012) 2 x 3,46 GHz 6-Core Intel Xeon / 96 GB 1333 MHz DDR3 - Mac OS High Sierra 10.13.6
69868
I bought my computer two years ago. In 2.79 or earlier I can see my quadro 6000 listed in the CUDA settings but now, starting with 2.80 I cannot see it. Is there any way to fix this problem? I am using Windows 10 and I already updated my driver, but still, no change.  Thank you!
47013
I am trying to find out how much memory my application is consuming from within the program itself. The memory usage I am looking for is the number reported in the "Mem Usage" column on the Processes tab of Windows Task Manager.
27219
It looks like this is a common problem, but I can't find any forum post that has a solution to my situation: I have no CUDA tab in system settings in Blender.   My data: Windows 10 64bit  Blender v2.77  Geforce GT 330M - driver Nvidia 341.95 (newest avalible driver.)  Is there someone who can help me to find out what can be the issue?
112137
How to compile and run open cl codes on intel i5 processors having intel hd 4000 gpu unit??? Open cl has been istalled in /opt/intel/opencl and versionis ubuntu 12.04. Any help would be of great help... Thanks