Comments (5)
Thanks for reporting the issue. At current point, I am not sure what happens. Does the program successfully reach the end?
from mshadow.
No, there is no output of tensor c. The sum_rows line make program exit suddenly. However, if there is no assignment of this line, the 'b = ' term, the program will not exit.
from mshadow.
hmm, then this could be some bug we overlooked, thanks!
from mshadow.
I believe it is NVIDIA's black magic and we are innocent.
Try this code:
#include <cstdio>
#include <errno.h>
#include "cuda.h"
int main() {
float * fp = NULL;
printf("Before: Posix errno %s\n",strerror(errno));
cudaMalloc((void**)&fp, sizeof(16));
printf("After: Posix errno %s\n",strerror(errno));
cudaFree(fp);
}
from mshadow.
I just got the same issue, when sum_rows would just suddenly exit. So just in case someone else encounters it, in my case it turned out that __CUDA_ARCH__
was not defined (mshadow actually gives a warning about it). Setting __CUDA_ARCH__
to 100 solved the problem.
from mshadow.
Related Issues (20)
- About getting the shape of a tensor HOT 1
- [please delete]
- how to reduce a one-dimension tensor (vector) ? HOT 1
- why there is no kDim inference check in ExpInfo for TenaryMapExp? HOT 1
- Is this a bug of operator[] ?
- mac make errors HOT 1
- Error on compiling basic_stream.cu with CUDA 9.0 HOT 3
- Shall we add half_t support to Random<cpu, DType> HOT 2
- --start-group not supported by macOS HOT 2
- Support for Complex numbers HOT 2
- Row wise normalization of tensor HOT 1
- [Clarification] Provision for AMD HIP backend for MXNet HOT 1
- dot_engine-inl.h MSHADOW_STAND_ALONE BLASEngine<cpu, float>::gemm error HOT 1
- error: no instance of function template "mshadow::Random<mshadow::gpu, DType>::SampleUniform
- CI is failing HOT 1
- Add Scientific Linux to makefile's CentOS blas library exception HOT 1
- Is 'base.h:173:20:fatal error: cuda.h: No such file or directory' means I did't install cuda? HOT 2
- does there need some update with guide and tests? HOT 1
- [RFC] Deprecate mshadow and donate code to apache-mxnet HOT 13
- Doesn't install any files HOT 2
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 mshadow.