Sign in to follow this  

OpenCL and also Heterogeneous computing

This topic is 1568 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I use a WinAPI. Because I think that is fast GUI, such as tow a big Qt Framework is a crazy idea. And a lot of dlls files... WinAPI is not bad, but isn't crossplatform. Well, I want use a OpenCL for Heterogeneous computing.
Here is scheme:
OpenGL(As Graphics) + OpenCL(As computing) + OpenAL(As Sound) + WInAPI(As GUI and also I/O)
And What do you say? Will the scheme work quickly?
Please feel free to criticize and comment!

Share this post


Link to post
Share on other sites

 

I use a WinAPI. Because I think that is fast GUI, such as tow a big Qt Framework is a crazy idea. And a lot of dlls files... WinAPI is not bad, but isn't crossplatform. Well, I want use a OpenCL for Heterogeneous computing.
Here is scheme:
OpenGL(As Graphics) + OpenCL(As computing) + OpenAL(As Sound) + WInAPI(As GUI and also I/O)
And What do you say? Will the scheme work quickly?
Please feel free to criticize and comment!

 

 

yes, quite quickly cool.png

Share this post


Link to post
Share on other sites

If you want a more concrete answer, you need to ask a more specific question. What kind of a project are you aiming at?

I want create Graphics Engine, which include physics engine and simple sound system.
Most of the attention I will concentrate to physics engine, because I have idea. This project can be use as gaming engine and for scientific purposes.

Share this post


Link to post
Share on other sites

Well it kinds of sucks to have all those cool cross-platform Open*L frameworks and then proceed to lock yourself into Windows by using the Win32 API. Especially if you intend to use it for "scientific purposes", a lot of that happens on Unix-type operating systems that drive large hardware clusters. Why can't the graphics engine power your GUI library? If you don't want to reinvent Qt that's fine, but I doubt most games use the Win32 API beyond creating a window to draw their stuff into. Usually they have their own GUI implementation based on whatever graphics library they are using, or use an existing framework which helps them place stuff on the screen, but you certainly don't see Windows controls in games, those are meant for desktop applications.

Share this post


Link to post
Share on other sites

Well it kinds of sucks to have all those cool cross-platform Open*L frameworks and then proceed to lock yourself into Windows by using the Win32 API. Especially if you intend to use it for "scientific purposes", a lot of that happens on Unix-type operating systems that drive large hardware clusters. Why can't the graphics engine power your GUI library? If you don't want to reinvent Qt that's fine, but I doubt most games use the Win32 API beyond creating a window to draw their stuff into. Usually they have their own GUI implementation based on whatever graphics library they are using, or use an existing framework which helps them place stuff on the screen, but you certainly don't see Windows controls in games, those are meant for desktop applications.

I think, that WinAPI is a most fastest for WindowsOS. Earlier I wrote to programms on Qt framework. Programms needed a lot of dlls, very much. It's very bad (IMHO). And This did led to what I stopped to use the Qt. I want to use a fast GUI and I/O, but Qt is a quite slow as compared with WinAPI. What will advise?

Edited by Nawy

Share this post


Link to post
Share on other sites


I think, that WinAPI is a most fastest for WindowsOS. Earlier I wrote to programms on Qt framework. Programms needed a lot of dlls, very much. It's very bad (IMHO). And This did led to what I stopped to use the Qt. I want to use a fast GUI and I/O, but Qt is a quite slow as compared with WinAPI. What will advise?

 

If your GUI framework is the slowest part of your application, either your application is so trivial it's not worth worrying about or you are doing something fundamentally wrong.

 

As Bacterius said, generally a graphics/physics engine doesn't use a desktop GUI framework at all. I still don't really know what exactly you want to do with the Win32 API?

 

Can you provide an example of the type of program you want to make and why you need a GUI framework for it.

Share this post


Link to post
Share on other sites


If your GUI framework is the slowest part of your application, either your application is so trivial it's not worth worrying about or you are doing something fundamentally wrong.
 
As Bacterius said, generally a graphics/physics engine doesn't use a desktop GUI framework at all. I still don't really know what exactly you want to do with the Win32 API?
 
Can you provide an example of the type of program you want to make and why you need a GUI framework for it.

For example: Create window and create a view of OpenGL to workspace of window. And I think that is the end to use GUI(not considering a I/O).  Then  I want a FAST I/O, and fast GUI. I don't to show to here my code, because it's quite a big. But I don't create more then one window.

Share this post


Link to post
Share on other sites

For multiplatform window handling (and other "basics"), you can use SDL.

WoW!!! Wonderful! Never I heard about SDL. I test it, very good! Thank you!

Share this post


Link to post
Share on other sites
Sign in to follow this