Comments (3)
All OpenCV functions in CUDA accept cv::cuda::Stream
, but I'm not sure if we can make it by utilizing cutorch stream API. Creating separate wrappers for cv::cuda::Stream
would be pointless. Will make it synchronous for now
from torch-opencv.
ugh, its annoying that they created another abstraction called cv::cuda::Stream. You can get the current cudaStream_t from the THC API via THCState_getCurrentStream: https://github.com/torch/cutorch/blob/master/lib/THC/THCGeneral.h.in#L110
from torch-opencv.
@soumith
Oops...I accidentally posted this comment and didn't notice! Right after I wrote it, "before submitting" I managed to solve this. Yes, I found it easy to get cutorch's current stream and tell OpenCV to use it. Thanks.
from torch-opencv.
Related Issues (20)
- can not use the funtion: "cv.applyColorMap(img, cv.COLORMAP_JET)" HOT 3
- Problems with luarocks install cv - lipopenblas dependency HOT 3
- Is DFT/IDFT supported? HOT 5
- [OSX] Undefined symbols for architecture x86_64: HOT 5
- What is the correct Lua points type for cv.fillPoly(src, points, color)? HOT 6
- detectMultiScale3 call from lua (cannot convert 'nil' to 'bool') HOT 4
- how to split the color channel HOT 1
- Could not find a configuration file for package "OpenCV" that exactly matches requested version "3.1". HOT 2
- type mismatch for getAffineTransform and getPerspectiveTransform HOT 2
- VideoCapture{0} HOT 1
- An error in CLAHE HOT 1
- fixed a BUG in function calcHist HOT 1
- Introduce GpuMatT for ALL [Input]OutputArrays
- I have installed OpenCV 3.1 and Torch7. However, when I try to run luarocks install cv, it fails on No targets specified and no makefile found. Stop. HOT 3
- VideoWriter creates empty videos HOT 3
- Problems while rotating/flipping an image on CPU and GPU HOT 1
- how to use BackgroundSubtractMOG2{} function
- ld: symbol(s) not found for architecture x86_64
- error when luarocks make cv-scm-1.rockspec HOT 1
- To Intall Facestream in ARMV7L Raspberry PI 4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torch-opencv.