pycuda
PyCUDA Passing variable by value to kernel
Should be simple enough; I literally want to send an int to the a SourceModule kernel declaration, where the C function[详细]
2023-02-27 02:29 分类:问答PyCUDA: Querying Device Status (Memory specifically)
PyCUDA\'s documentation mentions Driver Interface calls in passing, but I\'m a bit think and can\'t see how to get information such as \'SHARED_SIZE_BYTES\' out of my code.[详细]
2023-02-27 01:54 分类:问答PyCUDA Memory Addressing: Memory offset?
I\'ve got a large chunk of generated data (A[i,j,k]) on the device, but I only need one \'slice\' of A[i,:,:], and in regular CUDA this could be easily accomplished with some pointer arithmetic.[详细]
2023-02-26 19:51 分类:问答PyCUDA GPUArray slice-based operations
The PyCUDA documentation is a bit light on examples for those of us in the \'Non-Guru\' class, but I\'m wondering about the operations available for array operations on gpuarrays, ie. if I wanted to g[详细]
2023-02-26 06:28 分类:问答PyCUDA / Copperhead doesn't appear to recognise 64-bit machines
Two problems I\'m having with copperhead at the minute, which I suspect are related. Running a sample file (samples/axpy.py) generated lots of little warnings, but this one stood out.[详细]
2023-02-25 08:32 分类:问答PyCUDA: C/C++ includes?
Something that isn\'t really mentioned anywhere (at least that I can see) is what library functions are exposed to inline CUDA kernels.[详细]
2023-02-24 09:17 分类:问答processing an image using CUDA implementation, python (pycuda) or C++?
I am in a project to process an image using CUDA. The project is simply an addition or subtraction of the image.[详细]
2023-02-10 03:45 分类:问答Convert this PHP code to C# Rijndael Algorithm
I\'ve got this php code and I\'d like to get the exact equivalent C# $ivSize = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_192, MCRYPT_MODE_CBC);[详细]
2022-12-27 04:37 分类:问答