Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13642 > unrolled thread

CUDALink is not initialized

Started byPaperorbifold <kgodelNOSPAM@liberoNOSPAM.it>
First post2013-02-28 04:43 +0000
Last post2013-03-02 07:34 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  CUDALink is not initialized Paperorbifold <kgodelNOSPAM@liberoNOSPAM.it> - 2013-02-28 04:43 +0000
    Re: CUDALink is not initialized Szabolcs Horvát <szhorvat@gmail.com> - 2013-03-02 07:34 +0000

#13642 — CUDALink is not initialized

FromPaperorbifold <kgodelNOSPAM@liberoNOSPAM.it>
Date2013-02-28 04:43 +0000
SubjectCUDALink is not initialized
Message-ID<kgmn9h$8hs$1@smc.vnet.net>
I've recently upgraded to Mathematica 9.0 on Ubuntu 12.04 with the latest 
Nvidia driver (304.64). I load CUDA by using, as usual, Needs["CUDALink`"].
CUDAQ[] reports True.
CUDAInformation[] reports:

{1 -> {"Name" -> "GeForce GT 330M", "Clock Rate" -> 1265000, 
   "Compute Capabilities" -> 1.2, "GPU Overlap" -> 1, 
   "Maximum Block Dimensions" -> {512, 512, 64}, 
   "Maximum Grid Dimensions" -> {65535, 65535, 1}, 
   "Maximum Threads Per Block" -> 512, 
   "Maximum Shared Memory Per Block" -> 16384, 
   "Total Constant Memory" -> 65536, "Warp Size" -> 32, 
   "Maximum Pitch" -> 2147483647, 
   "Maximum Registers Per Block" -> 16384, "Texture Alignment" -> 256,
    "Multiprocessor Count" -> 6, "Core Count" -> 48, 
   "Execution Timeout" -> 1, "Integrated" -> False, 
   "Can Map Host Memory" -> True, "Compute Mode" -> "Default", 
   "Texture1D Width" -> 8192, "Texture2D Width" -> 65536, 
   "Texture2D Height" -> 32768, "Texture3D Width" -> 2048, 
   "Texture3D Height" -> 2048, "Texture3D Depth" -> 2048, 
   "Texture2D Array Width" -> 8192, "Texture2D Array Height" -> 8192, 
   "Texture2D Array Slices" -> 512, "Surface Alignment" -> 256, 
   "Concurrent Kernels" -> False, "ECC Enabled" -> False, 
   "TCC Enabled" -> False, "Total Memory" -> 1073414144}}

Thus it seems that everything works. But if try to perform the following:

randM = RandomReal[1, {1000, 1000}];
CUDADot[randM, randM];

I get:

CUDADot::notinit: CUDALink is not initialized.

What does it mean? I already tryied googling looking for the error 
message... nothing found. Thanks in advice to whom can shed light.

-- 
...and I will make them pay for what they've done! (J.L. Picard)

[toc] | [next] | [standalone]


#13664

FromSzabolcs Horvát <szhorvat@gmail.com>
Date2013-03-02 07:34 +0000
Message-ID<kgsa2v$ink$1@smc.vnet.net>
In reply to#13642
This has also been asked here:

http://mathematica.stackexchange.com/questions/20337/cudalink-is-not-initialized 


No answer there yet as I'm writing this, but it's good to cross link 
cross posts.

On 2013-02-28 04:43:29 +0000, Paperorbifold said:

> I've recently upgraded to Mathematica 9.0 on Ubuntu 12.04 with the latest
> Nvidia driver (304.64). I load CUDA by using, as usual, Needs["CUDALink`"].
> CUDAQ[] reports True.
> CUDAInformation[] reports:
> 
> {1 -> {"Name" -> "GeForce GT 330M", "Clock Rate" -> 1265000,
>    "Compute Capabilities" -> 1.2, "GPU Overlap" -> 1,
>    "Maximum Block Dimensions" -> {512, 512, 64},
>    "Maximum Grid Dimensions" -> {65535, 65535, 1},
>    "Maximum Threads Per Block" -> 512,
>    "Maximum Shared Memory Per Block" -> 16384,
>    "Total Constant Memory" -> 65536, "Warp Size" -> 32,
>    "Maximum Pitch" -> 2147483647,
>    "Maximum Registers Per Block" -> 16384, "Texture Alignment" -> 256,
>     "Multiprocessor Count" -> 6, "Core Count" -> 48,
>    "Execution Timeout" -> 1, "Integrated" -> False,
>    "Can Map Host Memory" -> True, "Compute Mode" -> "Default",
>    "Texture1D Width" -> 8192, "Texture2D Width" -> 65536,
>    "Texture2D Height" -> 32768, "Texture3D Width" -> 2048,
>    "Texture3D Height" -> 2048, "Texture3D Depth" -> 2048,
>    "Texture2D Array Width" -> 8192, "Texture2D Array Height" -> 8192,
>    "Texture2D Array Slices" -> 512, "Surface Alignment" -> 256,
>    "Concurrent Kernels" -> False, "ECC Enabled" -> False,
>    "TCC Enabled" -> False, "Total Memory" -> 1073414144}}
> 
> Thus it seems that everything works. But if try to perform the following:
> 
> randM = RandomReal[1, {1000, 1000}];
> CUDADot[randM, randM];
> 
> I get:
> 
> CUDADot::notinit: CUDALink is not initialized.
> 
> What does it mean? I already tryied googling looking for the error
> message... nothing found. Thanks in advice to whom can shed light.


[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web