# cublasInit() fails

**URL:** <https://forums.developer.nvidia.com/t/cublasinit-fails/13768>\
**Category:** CUDA Programming and Performance\
**Created:** [December 13, 2009, 9:43am UTC](https://forums.developer.nvidia.com/t/cublasinit-fails/13768 "2009-12-13T09:43:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Biasos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Biasos](https://forums.developer.nvidia.com/u/Biasos)\
**Post date:** [December 13, 2009, 9:43am UTC](https://forums.developer.nvidia.com/t/cublasinit-fails/13768/1 "2009-12-13T09:43:39Z")

</div>

Hello all,

I am new to CUDA in general and am just trying to get my feet wet. I am having trouble running some of the sample programs. For most of them I know why (only 128MB video RAM) but I’m not too sure about simpleCUBLAS.

cublasInit() seems to be returning CUBLAS\_STATUS\_NOT\_INITIALIZED when run in either Debug or Release mode. Both emulation modes work.

I am using Windows XP on a Macbook Pro with a 8600M GT, driver version 195.62. Everything was compiled in VS 2008. I’ve noticed that every couple of months someone asks the same question on the forums but has never really gotten a response. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Biasos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Biasos](https://forums.developer.nvidia.com/u/Biasos)\
**Post date:** [December 14, 2009, 12:23am UTC](https://forums.developer.nvidia.com/t/cublasinit-fails/13768/2 "2009-12-14T00:23:31Z")

</div>

Never mind… it just started working.

---

<div class="post-metadata">

**Author:** ![Nachiket\_Gokhale](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Nachiket\_Gokhale](https://forums.developer.nvidia.com/u/Nachiket_Gokhale)\
**Post date:** [December 16, 2009, 9:13pm UTC](https://forums.developer.nvidia.com/t/cublasinit-fails/13768/3 "2009-12-16T21:13:10Z")

</div>

> [@](#):
>
> Never mind… it just started working.

Could you provide more details? I am facing the same problem.

Thanks,

-Nachiket

---

<div class="post-metadata">

**Author:** ![Biasos](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Biasos](https://forums.developer.nvidia.com/u/Biasos)\
**Post date:** [December 22, 2009, 3:46am UTC](https://forums.developer.nvidia.com/t/cublasinit-fails/13768/4 "2009-12-22T03:46:01Z")

</div>

> [@](#):
>
> Could you provide more details? I am facing the same problem.
> 
> Thanks,
> 
> -Nachiket

I would if I could. All I can say is that I rebooted a few times and it just started working.

I’ve also encountered another problem recently which also went away on it’s own. For a few hours today, the first cudaMalloc() call in any program would simply fail but if I ignored it and made the exact same call again everything would work fine. Now it seems to be working as expected.

Sorry I couldn’t be more help.
