pycuda Questions
4
Receiving an error during pip pycuda installation on ubuntu as follows:
command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
note: This error originates from a subprocess, and is likely ...
3
I have an inference code in TensorRT(with python). I want to run this code in ROS but I get the below error when trying to allocate buffer:
LogicError: explicit_context_dependent failed: invalid d...
Vendor asked 24/2, 2020 at 9:19
1
once tensorflow be active. it will make every cuda code crash even I use sess.close()...
the error msg is:
pycuda._driver.LogicError: cuFuncSetBlockShape failed: invalid
resource handle
The...
Backblocks asked 2/5, 2018 at 1:24
5
Solved
when I install pycuda by this instruction:
pip install pycuda
but there is an error:
src/cpp/cuda.hpp:14:10: fatal error: cuda.h: No such file or directory
but I have installed the cuda toolk...
1
Solved
I would like to use pycuda and the FFT functions from scikit-cuda together. The code below
creates a skcuda.fft.Plan,
deletes that plan and then
tries to allocate a pycuda.gpuarray.GPUArray.
impo...
Contemptuous asked 12/5, 2022 at 15:42
4
Solved
I want to run a pyCUDA code on a flask server. The file runs correctly directly using python3 but fails when the corresponding function is called using flask.
Here is the relevant code:
cudaFlask...
2
I am using the PyCUDA to implement the smooth_local_affine as shown here. It works well when I simply run the program on linux. But when I tried to import it under Flask context:
from smooth_local...
Steverson asked 1/4, 2018 at 5:45
5
Solved
I'm new to CUDA programming and I was wondering how the performance of pyCUDA is compared to programs implemented in plain C.
Will the performance be roughly the same? Are there any bottle necks t...
3
I'm using anaconda to regulate my environment,
for a project i have to use my GPU for network training.
I use pytorch for my project and i'm trying to get CUDA working.
I installed cudatoolkit, nu...
1
Solved
I make following this original post : PyCuda code to invert a high number of 3x3 matrixes.
The code suggested as an answer is :
$ cat t14.py
import numpy as np
import pycuda.driver as cuda
from pyc...
Ovalle asked 26/11, 2019 at 17:17
1
Solved
Following a previous question ( Performing high number of 4x4 matrix inversion - PyCuda ), considering the inversion of 4x4 matrix, I would like to do the same but with 3x3 matrix. As @Robert Crove...
Trigonal asked 26/3, 2019 at 13:0
1
Solved
I am facing an issue of accuracy about my code which performs a number (128, 256, 512) of 4x4 matrix inversions. When I use the original version, i.e the numpy function np.linalg.inv or np.linalg.p...
Bellbottoms asked 27/3, 2019 at 20:46
2
Solved
I am using pyCUDA for CUDA programming. I need to use random number inside kernel function. CURAND library doesn't work inside it (pyCUDA). Since, there is lot of work to be done in GPU, generating...
2
I've installed PyCUDA using pip. I tried this in two computers.
One with a fresh install of Python 3.7.1 and one with Python 3.6.5.
Everything fails after using PuCUDA with no error message.
Th...
Banderillero asked 11/12, 2018 at 6:4
1
Solved
I am experimenting how to use cuda inside numba. However I have encountered something different from my expectation. Here is my code
from numba import cuda
@cuda.jit
def matmul(A, B, C):
"""Perfor...
Sunwise asked 10/9, 2018 at 18:43
2
Solved
I'm new to CUDA and am trying to figure out whether PyCUDA (free) or NumbaPro CUDA Python (not free) would be better for me (assuming the library cost is not an issue).
Both seem to require that y...
2
Solved
I need help to know the size of my blocks and grids.
I'm building a python app to perform metric calculations based on scipy as: Euclidean distance, Manhattan, Pearson, Cosine, joined other.
The pr...
Levitt asked 24/1, 2013 at 15:12
0
Recently, I use pip to install the pyCUDA for my python3.4.3. But I found when I test the sample code(https://documen.tician.de/pycuda/tutorial.html#getting-started), it can't print the result with...
3
Solved
Although i had installed pycuda and using it ok,it started (without doing sth) not to work.So,i i tried to do the install again ,but when i am doing
python configure.py --cuda-root=/usr/local/c...
Whereto asked 3/12, 2011 at 15:50
3
Solved
windows 10, python 2.7 64 bit
hello, following a guide to this step :
pip install pipwin
pipwin install pycuda
gives me those options
Package `pycuda` found in cache
Choose version to download...
2
Solved
My environment:
I'm using Hortonworks HDP 2.4 with Spark 1.6.1 on a small AWS EC2 cluster of 4 g2.2xlarge instances with Ubuntu 14.04. Each instance has CUDA 7.5, Anaconda Python 3.5, and Pycuda 20...
Fluoresce asked 5/11, 2016 at 16:47
1
I'm using VS2008, Win XP, latest CUDA toolkit.
I run pip install pycuda on windows and get following log from
C:\Documents and Settings\User\Application Data\pip\pip.log
I get error
LINK : fa...
1
Comparing multiple matrix multiplication calculations with pyopencl and pycuda show differences in performance.
System:
Ubuntu 14.04 with GeForce 920m
Pyopencl code:
#-*- coding: utf-8 -*-
imp...
Neuromuscular asked 20/3, 2016 at 11:8
1
Solved
I am currently learning programming with GPU to improve the performance of machine learning algorithms. Initially I try to learn programming cuda with pure c, then I found pycuda which to me a wrap...
Cadaverous asked 17/9, 2014 at 19:51
2
Solved
Do we have a GPU accelerated of version of numpy.max(X, axis=None) in Theano.
I looked into the documentation and found theano.tensor.max(X, axis=None), but it is 4-5 times slower than the numpy im...
Caracal asked 21/5, 2014 at 15:53
1 Next >
© 2022 - 2025 — McMap. All rights reserved.