用于GPU通用计算的编程语言BrookGPU 0.4

源代码在线查看: application.cpp

软件大小: 951 K
上传用户: zjf646
关键词: BrookGPU GPU 0.4 计算
下载地址: 免注册下载 普通下载 VIP

相关代码

				// application.cpp								#include "core.hpp"				#include "application.hpp"								using namespace fibble;								Application::Application() {
				}
				
				Application::~Application() {
				}
				
				int Application::runMessageLoop()				{					MSG message;
				  while( true )				  {					  while( ::PeekMessage( &message, NULL, 0, 0, PM_NOREMOVE ) )
					  {
				
						  int result = ::GetMessage( &message, NULL, 0, 0 );
				
						  if( result == -1 || result == 0 )
				        return result;
				
						  ::TranslateMessage( &message );
						  ::DispatchMessage( &message );
					  }								    handleIdle();				  }				}							

相关资源