memory-access
Is there fmemopen() in MinGW
I\'m trying to compile some code that uses the 开发者_开发百科fmemopen function in MinGW. I found out that this function is not available MinGW. I need a function equivalent to fmemopen().[详细]
2023-04-02 18:58 分类:问答Accessing Memory of other applications C++
I am think开发者_运维问答ing about a problem I have been having for some time now.. I would like to write a C/C++ program (under windows first) that can access(read/change values) the memory(stack, he[详细]
2023-03-06 16:53 分类:问答OpenMP C parallelisation algorithm
in the boo开发者_高级运维k \"Using OpenMP\" is an example for bad memory access in C and I think this is the main problem in my attempt to parallelism the gaussian algorithm.[详细]
2023-02-13 01:16 分类:问答In CUDA, what is memory coalescing, and how is it achieved?
What is \"coalesced\" in CUDA global memory transaction? I couldn\'t understand even after going through my 开发者_运维技巧CUDA guide. How to do it? In CUDA programming guide matrix example, accessing[详细]
2023-02-12 02:18 分类:问答Using C, how can I access the same block of memory as another C program?
So, I\'m on hour one of learning C.Maybe I\'ll jump over to C++ tonight. I\'d like to create two command line programs using C that can \"talk\" to each other.The first thought that came to mind is t[详细]
2023-01-28 15:25 分类:问答What happens if two threads read & write the same piece of memory
It\'s my understanding that if two threads are reading from the same piece of memory, and no thread is writing to that memory, then the operation is safe. However, I\'m not sure what happens if one th[详细]
2023-01-13 13:49 分类:问答Efficiency: arrays vs pointers
Memory access through pointers is said to be more efficient than memory access through an array.I am learning C and the above is stated in K&R. Specifically they say[详细]
2022-12-20 16:26 分类:问答