I meant on what basis the Threads per block should be decided. Because the same program can run with 2 Blocks and 10 Threads per block OR 1 block and 20 Threads per block.
Also i get garbage value when accessing the Second Array passed to the Kernel.
Code Snippet:
__global__ void fmultiply(float ...
Search found 102 matches
- Tue Mar 16, 2010 7:31 am
- Forum: Off-topic
- Topic: [CUDA]Determining threads per block, no. of blocks and Grid
- Replies: 4
- Views: 1691
- Mon Mar 15, 2010 3:12 pm
- Forum: Off-topic
- Topic: [CUDA]Determining threads per block, no. of blocks and Grid
- Replies: 4
- Views: 1691
[CUDA]Determining threads per block, no. of blocks and Grid
Hi Evryone,
How to determine threads per block, no. of blocks on a CUDA Device?
For example: i need to multiply two single dimensioned arrays A, B and Copy the result into C Array.
int N = 10; //Array Containing Maximum of 10 elements
size_t size = N*sizeof(float);
...
cudaMalloc((**void &&)a ...
How to determine threads per block, no. of blocks on a CUDA Device?
For example: i need to multiply two single dimensioned arrays A, B and Copy the result into C Array.
int N = 10; //Array Containing Maximum of 10 elements
size_t size = N*sizeof(float);
...
cudaMalloc((**void &&)a ...
- Mon Nov 23, 2009 2:54 pm
- Forum: Beginners Help
- Topic: Stable FPS
- Replies: 6
- Views: 1212
Constant FPS is nearly impossible.
As vitek said....be realistic!! It can never happen that u can fix ur application rendering at Fix FPS. U can Limit ur FPS Range by enabling VSYNC.
- Sun Oct 18, 2009 6:02 am
- Forum: Open Discussion and Dev Announcements
- Topic: CUDA / Irrlicht example ?
- Replies: 4
- Views: 1624
- Tue Jun 30, 2009 5:30 pm
- Forum: Beginners Help
- Topic: window keeps exiting - first tutorial
- Replies: 10
- Views: 824
- Sun Jun 07, 2009 11:09 am
- Forum: Open Discussion and Dev Announcements
- Topic: Create a 3D Mesh from a 2D image!![Concept Required]
- Replies: 3
- Views: 1683
- Fri Jun 05, 2009 12:27 pm
- Forum: Open Discussion and Dev Announcements
- Topic: Create a 3D Mesh from a 2D image!![Concept Required]
- Replies: 3
- Views: 1683
Create a 3D Mesh from a 2D image!![Concept Required]
Hi,
How can we create a 3D Mesh from a 2D region drawn by a user from an Image?
Few interesting Links i found on net...
http://www.rsi.gmbh.de/photomodeler_e.htm
http://www.techcrunch.com/2008/02/27/ma ... -3d-model/
Please discuss the concepts here!!
Thanx!!
How can we create a 3D Mesh from a 2D region drawn by a user from an Image?
Few interesting Links i found on net...
http://www.rsi.gmbh.de/photomodeler_e.htm
http://www.techcrunch.com/2008/02/27/ma ... -3d-model/
Please discuss the concepts here!!
Thanx!!
- Wed Jun 03, 2009 7:57 am
- Forum: Beginners Help
- Topic: Irrlicht Slow Performance on Mediocre Laptop
- Replies: 9
- Views: 825
- Wed May 20, 2009 7:04 pm
- Forum: Beginners Help
- Topic: .irr File not recognizing Skydomes!!
- Replies: 2
- Views: 434
- Wed May 20, 2009 4:58 pm
- Forum: Beginners Help
- Topic: .irr File not recognizing Skydomes!!
- Replies: 2
- Views: 434
.irr File not recognizing Skydomes!!
My scene at any instant contains a terrain and a skydome, with some particle effects. When i save it to the .irr file, the sky dome in .irr is stored/recognized as "SKYBOX" only.
And when i load them again...only skybox is rendered.
Need help.
And when i load them again...only skybox is rendered.
Need help.
- Tue May 19, 2009 11:33 am
- Forum: Beginners Help
- Topic: [SOLVED]A weird problem on GUI Events!!!
- Replies: 2
- Views: 487
SOLVED
Ok....solved it. Found an Extra return value :oops: in Mouse Input Event Reciever.
Thanx Sylence.
newz here's the my EventReceiver:
#include "TVREventReceiver.h"
#include "main.h"
#include "CGUIFileSaveDialog.h"
#include <queue>
CGUIFileSaveDialog* dialog;
int clicked_icon = 0;
gui::IGUIImage ...
Thanx Sylence.
newz here's the my EventReceiver:
#include "TVREventReceiver.h"
#include "main.h"
#include "CGUIFileSaveDialog.h"
#include <queue>
CGUIFileSaveDialog* dialog;
int clicked_icon = 0;
gui::IGUIImage ...
- Tue May 19, 2009 11:06 am
- Forum: Beginners Help
- Topic: [SOLVED]A weird problem on GUI Events!!!
- Replies: 2
- Views: 487
[SOLVED]A weird problem on GUI Events!!!
Hi everyone,
I jus encounterd a very weird problem. Can't figure out how it happend.
When i open the file open dialog box or suppose i create buttons on the GUI environment, i can't click the GUI buttons and button on the file open dialog.
I checked all return parameters but can't figure it out ...
I jus encounterd a very weird problem. Can't figure out how it happend.
When i open the file open dialog box or suppose i create buttons on the GUI environment, i can't click the GUI buttons and button on the file open dialog.
I checked all return parameters but can't figure it out ...
- Mon May 18, 2009 5:00 am
- Forum: Beginners Help
- Topic: GL/GL.h
- Replies: 6
- Views: 936
- Sat May 09, 2009 5:40 pm
- Forum: Beginners Help
- Topic: Clock skew detected!!
- Replies: 3
- Views: 803
FOUND BIOS PROBLEM
Thanx wiTTus!
I found what was the problem. I had a little trouble with my BIOS battery. Replaced the battery, set new time and compiled again. Now its working awesomely fast!! Thanx again!
I found what was the problem. I had a little trouble with my BIOS battery. Replaced the battery, set new time and compiled again. Now its working awesomely fast!! Thanx again!
- Sat May 09, 2009 2:45 pm
- Forum: Beginners Help
- Topic: Clock skew detected!!
- Replies: 3
- Views: 803