[go: up one dir, main page]

TWI597686B - A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed - Google Patents

A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed Download PDF

Info

Publication number
TWI597686B
TWI597686B TW100142534A TW100142534A TWI597686B TW I597686 B TWI597686 B TW I597686B TW 100142534 A TW100142534 A TW 100142534A TW 100142534 A TW100142534 A TW 100142534A TW I597686 B TWI597686 B TW I597686B
Authority
TW
Taiwan
Prior art keywords
gpu
cpu
computer
image
partial differential
Prior art date
Application number
TW100142534A
Other languages
Chinese (zh)
Other versions
TW201322177A (en
Inventor
汶樺 李
甘恆全
Original Assignee
財團法人國家實驗研究院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 財團法人國家實驗研究院 filed Critical 財團法人國家實驗研究院
Priority to TW100142534A priority Critical patent/TWI597686B/en
Priority to CN201210399574.1A priority patent/CN103198506B/en
Publication of TW201322177A publication Critical patent/TW201322177A/en
Application granted granted Critical
Publication of TWI597686B publication Critical patent/TWI597686B/en

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Other Investigation Or Analysis Of Materials By Electrical Means (AREA)

Description

協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法、裝置及電腦可讀取紀錄媒體、電腦程式產品 Collaborative GPU as a method, device and computer readable recording medium and computer program product for solving high-performance operation and three-dimensional interactive image output of partial differential equation

本發明係有關於一種協同GPU作為求解偏微分方程式(Partial Differential Equations,PDEs)之高效能運算與三維互動影像輸出之方法、裝置及電腦可讀取紀錄媒體、電腦程式產品,特別是指完全由GPU進行PDEs的運算,並根據運算結果完全由GPU繪製具有物理量變化的三維互動影像及輸出者。 The invention relates to a cooperative GPU as a method and device for solving high-performance computing and three-dimensional interactive image output of Partial Differential Equations (PDEs), and a computer readable recording medium and a computer program product, in particular, The GPU performs PDEs calculations, and based on the operation results, the 3D interactive images and output persons with physical changes are completely drawn by the GPU.

由於科技發展的日新月異,高效能運算已經被廣泛的應用在與民生息息相關的研究,如醫療診斷、3D互動式教學、全球氣候變遷、颱風、海嘯、地震等天然災害能量傳遞及破壞效果之預測。因此,大尺度計算模擬的重要性逐漸受到重視。憑藉著低成本及低耗電量的優勢,GPU衍然成為可以取代CPU作為高效能算的另類選擇。 Due to the rapid development of science and technology, high-performance computing has been widely used in research related to people's livelihood, such as medical diagnosis, 3D interactive teaching, global climate change, typhoon, tsunami, earthquake and other natural disaster energy transfer and damage prediction. Therefore, the importance of large-scale computational simulations has gradually received attention. With its low cost and low power consumption, GPU has become an alternative to CPU as a high-performance alternative.

又針對模擬邊界條件的建立而言,擴增實境(Augmented Reality,AR)影像是一種新穎且快速的影像輸入方法,可以建立許多用於模擬之模型,例如建築物,人體器官或大自然環境等等。 Augmented reality for the establishment of simulated boundary conditions (Augmented Reality, AR) imagery is a novel and fast method of image input that can be used to create many models for simulation, such as buildings, human organs or natural environments.

然而目前使用GPU作為求解偏微分方程式之高效能運算的方法,傳統上只有將一部分工作由GPU裝置執行,例如第五圖所示,圖示中CPU與GPU的協同運算過程中:虛線方塊代表CPU要求GPU執行的指令、實線方塊代表計算工作量執行的位置、單實線箭頭代表CPU與GPU之間進行資料傳輸,雙實線箭頭則代表由CPU管理掌握整個運算模擬的進行,由圖中看出CPU與GPU在運算過程中都會涉及資料傳輸,在大量資料傳輸過程中往往造成影像延遲輸出,並且GPU在整個運算過程中,仍有一大半時間處於未作業狀態,無法充分發揮GPU之效能。 However, the current GPU is used as a method for solving the high-performance operation of partial differential equations. Traditionally, only part of the work is performed by the GPU device. For example, in the fifth figure, in the cooperative operation of the CPU and the GPU in the figure: the dotted square represents the CPU. The instructions required by the GPU, the solid line squares represent the position where the calculation workload is executed, the single solid arrow represents the data transfer between the CPU and the GPU, and the double solid arrow represents the progress of the entire operation simulation by the CPU management. It can be seen that both CPU and GPU involve data transmission during the operation process. In the process of mass data transmission, the image delay output is often caused, and the GPU still has more than half of the time in the whole operation process, and the GPU performance cannot be fully utilized.

另外,若只運用CPU驅動擴增實境技術,呈現高效能運算得到的模擬結果,也遭遇到無法即時(REAL TIME)輸出三維動態影像的問題。 In addition, if only the CPU-driven Augmented Reality technology is used, and the simulation results obtained by the high-performance calculation are presented, the problem that the 3D motion image cannot be output immediately (REAL TIME) is encountered.

再請參閱第六圖所示,針對第五圖中GPU運算有限體積法之分離通量(F=f(Q))步驟,對於單核GPU而言,必須耗費成本尋找相鄰的計算單元,當所需計算資料龐大時,有時也是造成影像延遲輸出的因素之一。 Referring again to the sixth figure, for the separation flux (F=f(Q)) step of the GPU operation finite volume method in the fifth figure, for a single-core GPU, it is necessary to find an adjacent computing unit at a cost. When the required calculation data is large, it is sometimes one of the factors that cause image delay output.

為了完整發揮GPU高效能運算之優勢,同時克服影像輸出延遲的問題,本發明預計將PDEs的模擬運算完全由GPU執行,並且將模擬之運算結果完全由GPU執行繪圖及輸出,以達到即時( REAL TIME)輸出的效果,解決影像延遲的缺失。 In order to fully exploit the advantages of GPU high-performance computing and overcome the problem of image output delay, the present invention predicts that the simulation operation of PDEs is completely executed by the GPU, and the simulation result is completely executed by the GPU to perform drawing and output to achieve instant ( REAL TIME) Outputs the effect of missing image delays.

本發明再提出一種利用擴增實境(Augmented Reality,AR)作為三維影像輸入之技術,由CPU執行擴增實境三維影像的建立,以及根據三維影像設定座標與邊界條件,結合GPU的高效能運算,能夠整合擴增實境三維影像即時輸出具有物理量變化的三維互動影像。 The invention further proposes a technology for utilizing Augmented Reality (AR) as a three-dimensional image input, the CPU performs the establishment of the augmented reality three-dimensional image, and sets the coordinates and boundary conditions according to the three-dimensional image, and combines the high performance of the GPU. The operation can integrate the augmented reality 3D images to instantly output 3D interactive images with physical quantity changes.

故,本發明為一種協同GPU作為求解偏微分方程式(PDEs)之高效能運算與三維互動影像輸出之方法,包括有下列步驟:A.由CPU執行一三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,以及將邊界條件輸入至GPU,亦即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件;B.GPU根據步驟A提供之邊界條件執行一偏微分方程式的數值模擬;C.GPU依據數值模擬結果計算繪圖元素,而繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由一顯示單元輸出。 Therefore, the present invention is a cooperative GPU as a method for solving high-performance operations and three-dimensional interactive image output of partial differential equations (PDEs), including the following steps: A. Performing coordinate conversion of a three-dimensional image by the CPU, and converting the result according to coordinates Set the boundary conditions required for the simulation, and input the boundary conditions to the GPU, that is, calculate the coordinate values of the 3D image as the boundary conditions of the PDEs simulation; B. The GPU performs a partial differential equation according to the boundary conditions provided in Step A. Numerical simulation; C. GPU calculates drawing elements according to numerical simulation results, and draws visual images with physical quantity changes on the three-dimensional images to form a three-dimensional interactive image to be output by a display unit.

進一步,在步驟B及步驟C中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU。 Further, in steps B and C, the data transfer between the CPU and the GPU only involves the CPU transmitting the work instruction to the GPU, and after the GPU completes the work, transmitting the feedback instruction to the CPU.

進一步,步驟B的數值模擬係使用有限體積法,包含計算有限體積法之分離通量及計算有限體積法的狀態。 Further, the numerical simulation of step B uses a finite volume method, including calculating the separation flux of the finite volume method and calculating the state of the finite volume method.

進一步,在步驟C中,GPU結合CUDA語法加速計算(Rendering)速度。 Further, in step C, the GPU accelerates the rendering speed in conjunction with the CUDA syntax.

進一步,步驟A的三維影像係由一攝影單元拍攝一標記之拍攝影像所產生的擴增實境影像,而該標記可為實體物或投影影像。 Further, the three-dimensional image of step A is an augmented reality image generated by a photographing unit that captures a marked photographed image, and the mark may be a physical object or a projected image.

進一步,在執行步驟A之前,係先由CPU執行電腦系統程序初始化設定工作,包括有下列步驟:A1.在前述顯示單元顯示繪圖應用程式被初始化;A2.CPU指定電腦主機所需的記憶體空間;A3.將所需模擬之偏微分方程式複製到GPU的記憶體空間;A4.使用擴增實境工具啟動該攝影單元。 Further, before performing step A, the CPU first performs computer system program initialization setting work, including the following steps: A1. The display unit is displayed in the display unit to be initialized; A2. CPU specifies the memory space required by the computer host. ; A3. Copy the partial differential equation of the desired simulation to the memory space of the GPU; A4. Start the camera unit using the Augmented Reality tool.

進一步,在步驟C之後,包含有步驟D,由CPU執行電腦系統程序結束工作,包括下列步驟:D1.釋放GPU的記憶體空間;D2.釋放電腦主機的記憶體空間;D3.結束該攝影單元之操作;D4.結束該顯示單元之操作。 Further, after step C, step D is included, and the CPU executes the computer system program to end the work, including the following steps: D1. releasing the memory space of the GPU; D2. releasing the memory space of the computer host; D3. ending the photographing unit. Operation; D4. End the operation of the display unit.

本發明亦為一種協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,該裝置包括有:一電腦主機,該電腦主機包括有一CPU、一GPU及一應用程式被安裝於該電腦主機;一顯示單元,電性連接該電腦主機;該應用程式係用以使該電腦主機執行協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,並於該顯示單元顯示運算結果之三維互動影像。 The present invention is also a device for cooperating with a GPU as a high-performance computing and three-dimensional interactive image output for solving partial differential equations. The device includes: a computer host including a CPU, a GPU and an application installed thereon; a computer host; a display unit electrically connected to the computer host; the application is configured to enable the computer host to execute a collaborative GPU as a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, and displaying the method on the display unit A three-dimensional interactive image of the results of the operation.

進一步,該裝置為個人電腦、遊戲主機或智慧型手持裝置任一種。 Further, the device is any one of a personal computer, a game console or a smart handheld device.

本發明亦為一種電腦可讀取紀錄媒體,係儲存一應用程式,該應用程式使一電腦主機執行協同GPU作為求解偏微分方程式之 高效能運算與三維互動影像輸出之方法。 The invention also relates to a computer readable recording medium, which is an application program, which enables a computer host to execute a collaborative GPU as a solution to a partial differential equation. High-performance computing and 3D interactive image output methods.

本發明亦為一種電腦程式產品,用以安裝一應用程式在一電腦主機,該應用程式使該電腦主機執行協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法。 The invention is also a computer program product for installing an application on a computer host, the application enabling the computer host to execute a collaborative GPU as a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output.

本發明具有下列功效: The invention has the following effects:

1.利用GPU處理涉及物理量相關的複雜運算,而能高效率地即時輸出運算結果,該輸出結果至少包含即時的物理量變化及流暢的動態三維互動影像。 1. The GPU is used to process complex operations related to physical quantities, and the operation result can be outputted in an efficient manner, and the output result includes at least an instantaneous physical quantity change and a smooth dynamic three-dimensional interactive image.

2.利用GPU的強大運算功能,使得執行即時三維互動影像的模擬成本得以大幅降低。 2. Utilizing the powerful computing functions of the GPU, the simulation cost of executing real-time 3D interactive images can be greatly reduced.

3.擴增實境不再僅是單純的三維動態圖像,而是包括各物件之間在特定參數下之相互作用,因而包括複雜物理量變化之三維即時模擬結果。 3. Augmented reality is no longer just a three-dimensional dynamic image, but includes the interaction between objects under specific parameters, and thus includes three-dimensional real-time simulation results of complex physical quantities.

4.模擬過程中,任一參數或物件的變換,都可以得到快速且即時的運算結果並立即輸出。 4. During the simulation, any parameter or object transformation can get fast and immediate calculation results and output immediately.

5.使複雜的運算具有高速之輸出,即時且動態的三維互動影像可達200張/秒之輸出,甚至更多。 5. Make complex calculations with high-speed output, instant and dynamic 3D interactive images up to 200 fps output, and more.

6.高效率輸出的結果,更方便於觀察任一物件在模擬過程中之細微變化。 6. The result of high efficiency output is more convenient to observe the subtle changes of any object during the simulation.

第一圖係為本發明CPU及GPU協同運算之流程示意圖。 The first figure is a schematic flow chart of the CPU and GPU cooperative operation of the present invention.

第二圖係為本發明實施例之步驟C中,使用單一計算單元計算分離通量之示意圖。 The second figure is a schematic diagram of calculating the separation flux using a single calculation unit in the step C of the embodiment of the present invention.

第三圖係為本發明實施例之步驟D中,GPU結合CUDA語法加速運算之示意圖。 The third figure is a schematic diagram of the GPU combined with the CUDA syntax acceleration operation in the step D of the embodiment of the present invention.

第四圖係CPU及GPU協同運算之流程簡圖,說明本發明方法較習知方法具有較高效能運算(HPC)。 The fourth figure is a simplified flow diagram of the CPU and GPU cooperative operation, illustrating that the method of the present invention has a higher performance operation (HPC) than the conventional method.

第五圖係為習知CPU及GPU協同運算之流程示意圖。 The fifth figure is a schematic flow chart of the conventional CPU and GPU cooperative operation.

第六圖係為習知GPU計算分離通量之示意圖。 The sixth figure is a schematic diagram of a conventional GPU computing separation flux.

綜合上述技術特徵,本發明協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法、裝置及電腦可讀取紀錄媒體、電腦程式產品的主要功效可在下述實施例清楚呈現。 Based on the above technical features, the main functions of the GPU as a method and device for solving the high-performance operation and the three-dimensional interactive image output of the partial differential equation and the computer readable recording medium and the computer program product can be clearly demonstrated in the following embodiments.

請參閱第一圖所示,本發明實施例要說明的是利用CPU處理擴增實境影像,並給定模擬條件,再以GPU完全執行複雜的PDEs運算,藉由GPU的高效能運算能快速的計算出PDEs所代表具有物理量變化的結果,GPU並將此物理量變化的結果繪製成視覺影像重疊在前述擴增實境三維影像上,藉以使擴增實境影像能即時(REAL TIME)的輸出具有物理量變化三維互動影像;在圖示中CPU與GPU的協同運算過程中:虛線方塊代表CPU要求GPU執行的指令、實線方塊代表計算工作量執行的位置、單實線箭頭代表CPU與GPU之間進行資料傳輸、單虛線箭頭代表CPU與GPU之間工作指令及回饋指令的傳輸,雙實線則代表由CPU管理掌握整個運算模擬的進行,最後粗實線則代表GPU繪圖由顯示單元輸出。 Referring to the first figure, in the embodiment of the present invention, the CPU is used to process the augmented reality image, and the simulation conditions are given, and then the complex PDEs operation is completely executed by the GPU, and the high-performance operation of the GPU can be quickly performed. Calculate the result of the physical quantity change represented by the PDEs, and plot the result of the physical quantity change into a visual image overlay on the augmented reality 3D image, so that the augmented reality image can be output immediately (REAL TIME) 3D interactive image with physical quantity change; in the diagram of the CPU and GPU collaborative operation: the dotted square represents the instruction that the CPU requires the GPU to execute, the solid line represents the position where the calculation workload is executed, and the single solid arrow represents the CPU and GPU. Data transfer, single-dotted arrow represents the transfer of work instructions and feedback instructions between the CPU and GPU, double solid line represents the CPU management to master the entire operation simulation, and finally the thick solid line represents the GPU drawing output by the display unit.

本實施例之步驟包括: The steps of this embodiment include:

A.由CPU執行電腦系統程序初始化設定工作,此系統程序初始化設定工作包括有下列步驟: A. The computer system program initialization setting work is performed by the CPU. The system program initialization setting work includes the following steps:

A1.在一顯示單元顯示繪圖應用程式被初始化,該繪圖應用程式例如是OpenGL、DirectDraw或DirectX等等應用程式。 A1. The drawing application is initialized in a display unit, such as an application such as OpenGL, DirectDraw or DirectX.

A2.CPU指定電腦主機所需的記憶體空間。 A2. CPU specifies the memory space required by the host computer.

A3.將所需模擬之偏微分方程式(PDEs)複製到GPU的記憶體空間。 A3. Copy the required partial differential equations (PDEs) to the memory space of the GPU.

A4.使用擴增實境工具啟動一攝影單元。 A4. Start a camera unit using the Augmented Reality tool.

B.利用擴增實境(AR)的技術由該攝影單元拍攝一標記(marker)之拍攝影像,藉由辨識該拍攝影像而產生一擴增實境的三維影像,而其中該標記可以是實體物標記或是由投影機所產生的投影影像標記,再由CPU執行該擴增實境三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,亦即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件,以及將邊界條件輸入至GPU。 B. Using augmented reality (AR) technology, a photographing image of a marker is taken by the photographing unit, and an augmented reality three-dimensional image is generated by recognizing the photographed image, wherein the mark may be an entity The object mark or the projection image mark generated by the projector, and then the coordinate conversion of the augmented reality 3D image is performed by the CPU, and the boundary condition required for the simulation is set according to the coordinate conversion result, that is, the coordinates of the 3D image are calculated. Value, as a boundary condition for PDEs simulation, and input boundary conditions to the GPU.

C.GPU根據步驟A提供之偏微分方程式,以及步驟B提供的邊界條件進行PDEs的數值運算,以使用有限體積法運算為例,涉及有限體積法分離通量的計算以及有限體積法狀態的計算,參閱第一圖所示,CPU會下達「計算有限體積法之分離通量」的工作指令給GPU,並由GPU執行運算,GPU運算完成後,會傳輸一回饋指令至CPU,CPU於接收該回饋指令後,下達下一個工作指令「計算 有限體積法的狀態」至GPU,由GPU執行運算,並重複前述運算模式,在GPU工作結束後,傳輸一回饋指令至CPU。 C. GPU performs the numerical operation of PDEs according to the partial differential equation provided in step A and the boundary conditions provided in step B, taking the finite volume method as an example, involving the calculation of the separation flux of the finite volume method and the calculation of the state of the finite volume method. As shown in the first figure, the CPU will issue a work command of “calculate the split flux of the finite volume method” to the GPU, and the GPU will perform the operation. After the GPU operation is completed, a feedback command will be transmitted to the CPU, and the CPU receives the operation. After the feedback command, release the next work order "Calculation The state of the finite volume method to the GPU, the GPU performs the operation, and repeats the aforementioned operation mode, and after the GPU is finished, transmits a feedback instruction to the CPU.

請參閱第二圖所示,本發明對於單核GPU而言,可以有效使用單一計算單元進行分離通量(F=f(Q))的計算,無須浪費計算成本尋找相鄰計算單元,運算效率佳。 Referring to the second figure, the present invention can effectively calculate the separation flux (F=f(Q)) using a single computing unit for a single-core GPU, without wasting computational cost to find adjacent computing units, and computing efficiency. good.

D.參閱第一圖所示,在CPU接收回饋指令確認GPU完成PDEs的運算後,CPU會要求GPU執行繪圖的工作,包括有計算繪圖元素及繪製影像輸出至顯示單元等工作,其中CPU先下達「計算繪圖元素」的工作指令至GPU,由GPU依據數值模擬結果計算繪圖元素,GPU運算完成後,會傳輸一回饋指令至CPU,CPU於接收該回饋指令後,下達下一個工作指令「繪圖輸出」至GPU,GPU因此可繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由顯示單元輸出。 D. Referring to the first figure, after the CPU receives the feedback command to confirm that the GPU completes the PDEs operation, the CPU will ask the GPU to perform the drawing work, including calculating the drawing elements and drawing the image output to the display unit, wherein the CPU first releases The work instruction of the "calculation drawing element" is sent to the GPU, and the GPU calculates the drawing element according to the numerical simulation result. After the GPU operation is completed, a feedback instruction is transmitted to the CPU, and after receiving the feedback instruction, the CPU issues the next work instruction "drawing output". To the GPU, the GPU can draw a visual image with a change in physical quantity superimposed on the aforementioned three-dimensional image, and form a three-dimensional interactive image to be output by the display unit.

其中,請參閱第三圖所示,在步驟D的運算過程中,利用GPU結合CUDA語法加速計算(Rendering)速度,主要是使用CUDA語法核心從結構記憶空間來處理資料(P),並執行次要的索引轉換(IR=T(X))。然後CUDA語法核心重新定義顏色(C)及頂點(V),並在Rendering之前,將資料儲存於整體記憶空間。 Among them, please refer to the third figure. In the operation of step D, the GPU is combined with the CUDA syntax to speed up the rendering, mainly using the CUDA syntax core to process the data (P) from the structure memory space, and execute the time. The desired index conversion (I R =T(X)). The CUDA syntax core then redefines the color (C) and vertex (V) and stores the data in the overall memory space before Rendering.

在步驟C及步驟D中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU,完全由GPU處理涉及物理量相關的複雜運算,以及由GPU完全執行繪圖輸出,因此能透過GPU本身的高效能運算,即時的輸出包含有物理量變化且畫面流暢的動態三維互動影像;另外,根據所需 模擬工作,可重複執行步驟B至步驟D,即時的輸出不同模擬結果。 In step C and step D, the data transfer between the CPU and the GPU only involves the CPU transmitting the work instruction to the GPU, and after the GPU finishes working, transmitting the feedback instruction to the CPU, completely processing the complex operation related to the physical quantity by the GPU, and The GPU completely executes the drawing output, so through the high-performance computing of the GPU itself, the instant output contains dynamic 3D interactive images with physical changes and smooth images; For simulation work, step B to step D can be repeated to output different simulation results in real time.

E.在模擬工作完成後,由CPU最後執行電腦系統程序結束工作,包括下列步驟: E. After the simulation work is completed, the CPU finally executes the computer system program to end the work, including the following steps:

E1.釋放GPU的記憶體空間。 E1. Free up the GPU's memory space.

E2.釋放電腦主機的記憶體空間。 E2. Release the memory space of the host computer.

E3.結束該攝影單元之操作。 E3. End the operation of the photographing unit.

E4.結束該顯示單元之操作。 E4. End the operation of the display unit.

經由上述程序結束電腦系統工作。 End the computer system work through the above procedure.

以下以一科學計算理論說明以本發明CPU及GPU協同運算中,完全由GPU執行PDEs的運算及完全由GPU執行繪圖輸出可獲得高效能運算(High Performance Computing,HPC)之結果:請參閱第四圖所示,利用Gustafson’s Law驗證本發明計算之加速效果:SU=a+P(1-a) The following is a scientific calculation theory. In the CPU and GPU cooperative operation of the present invention, the PDEs are completely executed by the GPU and the graphics output is completely executed by the GPU to obtain the result of High Performance Computing (HPC): As shown in the figure, the acceleration effect of the calculation of the present invention is verified by Gustafson's Law: SU = a + P (1- a )

其中SU表加速比例(Speed-Up),a表計算過程不能被平行運算的部份(fraction of work that cannot be parallelized),P表處理器數量(number of processors)。 令初始化過程需耗費資源為: F INIT =k INIT N Among them, the SU table speed-up, the fraction of work that cannot be parallelized, the number of processors. Let the initialization process consume resources: F INIT = k INIT N

其中N為計算單元(cells)數量,KINIT為每個計算單元初始化過程需耗費資源。 Where N is the number of cells, and K INIT consumes resources for each cell initialization process.

假設圖示中執行工作A及工作B所需耗費資源與N呈線性關係:F A =k A N F B =k B N Assume that the resources required to perform Work A and Work B in the diagram are linear with N: F A = k A N F B = k B N

其中kA及kB為每個計算單元計算過程中需耗費資源。 Where k A and k B are resources that are consumed during the calculation of each computing unit.

令CPU與GPU之間的溝通(Communications)需耗費資源為:F COM =k COM N The communication between the CPU and the GPU requires resources: F COM = k COM N

其中KCOM為每個計算單元在CPU與GPU之間的溝通需耗費資源。 Among them, K COM requires resources for communication between the CPU and the GPU for each computing unit.

則由Gustafson’s Law得到: It is obtained by Gustafson’s Law:

(I)當工作A及工作B由CPU及GPU作平行運算,即CPU與GPU各別處理部份的PDEs運算與部份的繪圖輸出時: (I) When Work A and Work B are operated in parallel by the CPU and GPU, that is, the PDEs and partial plot outputs of the CPU and GPU are processed separately: and

(II)當工作A及工作B完全由GPU作平行運算,即完全由GPU處理PDEs運算與繪圖輸出時: (II) When Work A and Work B are completely parallelized by the GPU, that is, when the PDEs operation and drawing output are completely processed by the GPU: and

我們並定義: We also define:

其中SUR表示完全由GPU作平行運算與由CPU及GPU同時作平行運算時之加速比例。 可得到: Among them, SU R represents the acceleration ratio when the parallel operation is completely performed by the GPU and the parallel operation is performed by the CPU and the GPU at the same time. available:

化簡後得到: After simplification, you get:

經由前述計算式可發現SUR大於1,即本發明確實較傳統CPU及GPU協同運算可得到更高效能運算(HPC)。 Through the foregoing calculation formula, it can be found that the SU R is greater than 1, that is, the present invention does achieve a higher performance operation (HPC) than the conventional CPU and GPU cooperative operation.

由於本發明利用GPU的高效能運算(HPC)特性,完全利用GPU執行PDEs的運算及完全由GPU執行繪圖輸出,因此對於涉及動能傳遞之3D影像模擬,例如海嘯、地震、颱風等能量之傳遞及破壞效果之3D影像模擬;或是涉及震動之3D影像模擬,例如震動下之金屬疲勞模擬或建築物耐震強度之模擬;或是涉及流體力學之3D影像模擬,例如交通載具(飛機、汽車)之空氣阻力模擬;或是涉及撞擊破壞之模擬,例如車體碰撞實驗與設計等等,都可以即時(REAL TIME)的輸出模擬結果。 Since the present invention utilizes the high-performance computing (HPC) feature of the GPU, the GPU is used to perform PDEs calculations and the GPU is completely executed by the GPU. Therefore, for 3D image simulation involving kinetic energy transfer, such as tsunami, earthquake, typhoon and the like, 3D image simulation of damage effects; or 3D image simulation involving vibration, such as metal fatigue simulation under vibration or simulation of seismic strength of buildings; or 3D image simulation involving fluid mechanics, such as traffic vehicles (aircraft, automobiles) Simulation of air resistance; or simulations involving impact damage, such as vehicle crash experiments and designs, can be simulated immediately (REAL TIME).

綜合上述實施例之說明,當可充分瞭解本發明之操作、使用及本發明產生之功效,惟以上所述實施例僅係為本發明之較佳實 施例,當不能以此限定本發明實施之範圍,即依本發明申請專利範圍及發明說明內容所作簡單的等效變化與修飾,皆屬本發明涵蓋之範圍內。 In view of the above description of the embodiments, the operation, the use and the effects of the present invention can be fully understood, but the above embodiments are merely preferred. The scope of the invention is to be construed as being limited by the scope of the invention and the scope of the invention.

Claims (33)

一種協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,步驟包括:A.由CPU執行一三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,以及將邊界條件輸入至GPU,亦即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件;B.GPU根據步驟A提供之邊界條件執行一偏微分方程式的數值模擬;C.GPU依據數值模擬結果計算繪圖元素,而繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由一顯示單元輸出。 A cooperative GPU is used as a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, and the steps include: A. performing coordinate conversion of a three-dimensional image by the CPU, and setting boundary conditions required for the simulation according to the coordinate conversion result, and The boundary condition is input to the GPU, that is, the coordinate value of the PDEs is calculated by calculating the coordinate value of the 3D image; B. GPU performs a numerical simulation of the partial differential equation according to the boundary condition provided by the step A; C. GPU is based on the numerical simulation result The drawing element is calculated, and the visual image with the physical quantity change is drawn on the aforementioned three-dimensional image, and the three-dimensional interactive image is formed and output by a display unit. 如申請專利範圍第1項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,在步驟B及步驟C中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU。 For example, in the method of claim 1, the cooperative GPU is used as a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output. In steps B and C, the data transmission between the CPU and the GPU involves only the CPU transmission work. The instruction is sent to the GPU, and after the GPU finishes working, the feedback instruction is transmitted to the CPU. 如申請專利範圍第1項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,其中步驟B的數值模擬係使用有限體積法,包含計算有限體積法之分離通量及計算有限體積法的狀態。 For example, the cooperative GPU described in claim 1 is a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, wherein the numerical simulation of the step B uses a finite volume method, including the calculation of the separation flux of the finite volume method. And calculate the state of the finite volume method. 如申請專利範圍第1項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,在步驟C中,GPU 結合CUDA語法加速計算速度。 For example, the collaborative GPU described in claim 1 is a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output. In step C, the GPU Combine CUDA syntax to speed up calculations. 如申請專利範圍第1項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,其中步驟A的三維影像係由一攝影單元拍攝一標記之拍攝影像所產生的擴增實境影像。 For example, the cooperative GPU described in claim 1 is a high-performance operation for solving partial differential equations and a method for outputting three-dimensional interactive images, wherein the three-dimensional image of step A is generated by a photographing unit to capture a marked image. Increase the reality image. 如申請專利範圍第5項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,其中該標記為實體物或投影影像。 The cooperative GPU as described in claim 5 of the patent application is a method for solving high-performance operations and three-dimensional interactive image output of a partial differential equation, wherein the mark is a solid object or a projected image. 如申請專利範圍第5項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,在執行步驟A之前,係先由CPU執行電腦系統程序初始化設定工作,包括有下列步驟:A1.在前述顯示單元顯示繪圖應用程式被初始化;A2.CPU指定電腦主機所需的記憶體空間;A3.將所需模擬之偏微分方程式複製到GPU的記憶體空間;A4.使用擴增實境工具啟動該攝影單元。 For example, the collaborative GPU described in claim 5 is a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output. Before performing step A, the CPU first executes the computer system program initialization setting work, including the following Step: A1. In the foregoing display unit, the drawing application is initialized; A2.CPU specifies the memory space required by the host computer; A3. Copy the required differential partial equation to the GPU memory space; A4. The augmentation tool launches the camera unit. 如申請專利範圍第5項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,在步驟C之後,包含有步驟D:由CPU執行電腦系統程序結束工作,包括下列步驟:D1.釋放GPU的記憶體空間;D2.釋放電腦主機的記憶體空間;D3.結束該攝影單元之操作;D4.結束該顯示單元之操作。 For example, the cooperative GPU described in claim 5 is a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output. After the step C, the step D is included: the computer system program is executed by the CPU, including the following Step: D1. Release the memory space of the GPU; D2. Release the memory space of the computer host; D3. End the operation of the photographing unit; D4. End the operation of the display unit. 一種協同GPU作為求解偏微分方程式之高效能運算與三維互 動影像輸出之裝置,包括有:一電腦主機,該電腦主機包括有一CPU、一GPU及一應用程式被安裝於該電腦主機;一顯示單元,電性連接該電腦主機;該應用程式係用以使該電腦主機執行協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,該方法步驟包括:A.由CPU執行一三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,以及將邊界條件輸入至GPU,亦即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件;B.GPU根據步驟A提供之邊界條件執行一偏微分方程式的數值模擬;C.GPU依據數值模擬結果計算繪圖元素,而繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由該顯示單元輸出。 A cooperative GPU as a high-performance operation and three-dimensional mutual solution for solving partial differential equations The image output device includes: a computer host including a CPU, a GPU and an application installed on the computer host; a display unit electrically connected to the computer host; the application is used for The computer host executes the cooperative GPU as a method for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, and the method steps include: A. performing coordinate conversion of a three-dimensional image by the CPU, and setting a simulation required according to the coordinate conversion result The boundary condition, and the boundary condition is input to the GPU, that is, the coordinate value of the PDEs is calculated by calculating the coordinate value of the three-dimensional image; B. GPU performs a numerical simulation of the partial differential equation according to the boundary condition provided by step A; The GPU calculates a drawing element according to the numerical simulation result, and draws a visual image with a physical quantity change superimposed on the aforementioned three-dimensional image to form a three-dimensional interactive image to be output by the display unit. 如申請專利範圍第9項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該電腦主機執行步驟B及步驟C中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU。 For example, the collaborative GPU described in claim 9 is a device for solving the high-performance operation and the three-dimensional interactive image output of the partial differential equation, wherein the computer host performs the data transmission between the CPU and the GPU in steps B and C. It involves the CPU transmitting the work instruction to the GPU, and after the GPU finishes working, transmitting the feedback instruction to the CPU. 如申請專利範圍第9項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該電腦主機執行步驟B的數值模擬係使用有限體積法,包含計算有限體積法之分離通量及計算有限體積法的狀態。 For example, the collaborative GPU described in claim 9 is a device for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, wherein the computer host performs the numerical simulation of step B using the finite volume method, including the calculation of the finite volume method. The separation flux and the state of the finite volume method are calculated. 如申請專利範圍第9項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該電腦主機執行步驟C中,GPU結合CUDA語法加速計算速度。 For example, the collaborative GPU described in claim 9 is a device for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, wherein the computer host performs step C, and the GPU combines the CUDA syntax to accelerate the calculation speed. 如申請專利範圍第9項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,進一步包括有一攝影單元電性連接該電腦主機,該電腦主機執行步驟A的三維影像係由該攝影單元拍攝一標記之拍攝影像所產生的擴增實境影像。 The device as claimed in claim 9 is the device for solving the high-performance operation and the three-dimensional interactive image output of the partial differential equation, and further comprising a camera unit electrically connected to the computer host, wherein the computer host performs the three-dimensional image of step A. The augmented reality image produced by the photographing image of the mark is taken by the photographing unit. 如申請專利範圍第13項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該標記為實體物或投影影像。 For example, the collaborative GPU described in claim 13 is a device for solving high-performance operations and three-dimensional interactive image output of a partial differential equation, wherein the mark is a physical object or a projected image. 如申請專利範圍第13項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該電腦主機在執行步驟A之前,係先由CPU執行電腦系統程序初始化設定工作,包括有下列步驟:A1.在前述顯示單元顯示繪圖應用程式被初始化;A2.CPU指定電腦主機所需的記憶體空間;A3.將所需模擬之偏微分方程式複製到GPU的記憶體空間;A4.使用擴增實境工具啟動該攝影單元。 For example, the collaborative GPU described in claim 13 is a device for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, wherein the computer host performs the initialization of the computer system program by the CPU before executing step A. , including the following steps: A1. In the foregoing display unit display drawing application is initialized; A2. CPU specifies the memory space required by the host computer; A3. Copy the required differential partial equation to the GPU memory space; A4. Launch the camera unit using the Augmented Reality tool. 如申請專利範圍第13項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,其中該電腦主機在執行步驟C之後,再執行步驟D:由CPU執行電腦系統程序結束工作,包括下列步驟:D1.釋放GPU的記憶體空間;D2.釋放電腦主機的記憶體空間; D3.結束該攝影單元之操作;D4.結束該顯示單元之操作。 For example, the collaborative GPU described in claim 13 is a device for solving the high-performance operation and the three-dimensional interactive image output of the partial differential equation, wherein the computer host executes step C and then executes step D: executing the computer system program by the CPU. End the work, including the following steps: D1. Release the memory space of the GPU; D2. Release the memory space of the computer host; D3. Ending the operation of the photographing unit; D4. Ending the operation of the display unit. 如申請專利範圍第9項所述之協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之裝置,該裝置為個人電腦、遊戲主機或智慧型手持裝置任一種。 For example, the cooperative GPU described in claim 9 is a device for solving the high-performance operation of the partial differential equation and the three-dimensional interactive image output, and the device is any one of a personal computer, a game console or a smart handheld device. 一種電腦可讀取紀錄媒體,係儲存一應用程式,該應用程式使一電腦主機執行協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,該方法之步驟包括:A.由CPU執行一三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,以及將邊界條件輸入至GPU,亦即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件;B.GPU根據步驟A提供之邊界條件執行一偏微分方程式的數值模擬;C.GPU依據數值模擬結果計算繪圖元素,而繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由一顯示單元輸出。 A computer readable recording medium is an application that causes a computer host to execute a collaborative GPU as a method for solving high-performance operations of a differential equation and a three-dimensional interactive image output. The steps of the method include: The CPU performs a coordinate conversion of a three-dimensional image, and sets a boundary condition required for the simulation according to the coordinate conversion result, and inputs the boundary condition to the GPU, that is, calculates a coordinate value of the three-dimensional image as a boundary condition of the PDE simulation; The GPU performs a numerical simulation of a partial differential equation according to the boundary condition provided by step A; C. GPU calculates a drawing element according to the numerical simulation result, and draws a visual image with a physical quantity change superimposed on the three-dimensional image to form a three-dimensional interactive image. Display unit output. 如申請專利範圍第18項所述之電腦可讀取紀錄媒體,在步驟B及步驟C中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU。 For example, in the computer-readable recording medium described in claim 18, in step B and step C, the data transmission between the CPU and the GPU only involves the CPU transmitting the work instruction to the GPU, and after the GPU completes the work, transmitting the feedback. Command to the CPU. 如申請專利範圍第18項所述之電腦可讀取紀錄媒體,其中步驟B的數值模擬係使用有限體積法,包含計算有限體積法之分離通量及計算有限體積法的狀態。 The computer-readable recording medium according to claim 18, wherein the numerical simulation of step B uses a finite volume method, including calculating a separation flux of the finite volume method and calculating a state of the finite volume method. 如申請專利範圍第18項所述之電腦可讀取紀錄媒體,在步驟C中,GPU結合CUDA語法加速計算速度。 As in the computer-readable recording medium described in claim 18, in step C, the GPU accelerates the calculation speed in conjunction with the CUDA syntax. 如申請專利範圍第18項所述之電腦可讀取紀錄媒體,其中步驟A的三維影像係由一攝影單元拍攝一標記之拍攝影像所產生的擴增實境影像。 The computer-readable recording medium according to claim 18, wherein the three-dimensional image of step A is an augmented reality image generated by a photographing unit that captures a marked photographed image. 如申請專利範圍第22項所述之電腦可讀取紀錄媒體,其中該標記為實體物或投影影像。 The computer-readable recording medium of claim 22, wherein the mark is a physical object or a projected image. 如申請專利範圍第22項所述之電腦可讀取紀錄媒體,在執行步驟A之前,係先由CPU執行電腦系統程序初始化設定工作,包括有下列步驟:A1.在前述顯示單元顯示繪圖應用程式被初始化;A2.CPU指定電腦主機所需的記憶體空間;A3.將所需模擬之偏微分方程式複製到GPU的記憶體空間;A4.使用擴增實境工具啟動該攝影單元。 For example, in the computer-readable recording medium described in claim 22, before performing step A, the CPU first executes the computer system program initialization setting work, including the following steps: A1. Displaying the drawing application in the foregoing display unit Initialized; A2.CPU specifies the memory space required by the host computer; A3. Copy the partial differential equation of the desired simulation to the memory space of the GPU; A4. Start the camera unit using the Augmented Reality tool. 如申請專利範圍第22項所述之電腦可讀取紀錄媒體,在步驟C之後,包含有步驟D:由CPU執行電腦系統程序結束工作,包括下列步驟:D1.釋放GPU的記憶體空間;D2.釋放電腦主機的記憶體空間;D3.結束該攝影單元之操作;D4.結束該顯示單元之操作。 For example, the computer readable recording medium described in claim 22, after step C, includes step D: the computer system program execution is completed by the CPU, including the following steps: D1. releasing the GPU memory space; D2 .Release the memory space of the host computer; D3. End the operation of the photographing unit; D4. End the operation of the display unit. 一種電腦程式產品,用以安裝一應用程式在一電腦主機,該應用程式使該電腦主機執行協同GPU作為求解偏微分方程式之高效能運算與三維互動影像輸出之方法,該方法之步驟包括:A.由CPU執行一三維影像的座標轉換,並根據座標轉換結果設定模擬所需之邊界條件,以及將邊界條件輸入至GPU,亦 即經由計算三維影像的座標值,來作為PDEs模擬的邊界條件;B.GPU根據步驟A提供之邊界條件執行一偏微分方程式的數值模擬;C.GPU依據數值模擬結果計算繪圖元素,而繪製具有物理量變化的視覺影像疊合在前述三維影像上,形成三維互動影像由一顯示單元輸出。 A computer program product for installing an application on a computer host, the application causing the computer host to execute a collaborative GPU as a method for solving high-performance operations and three-dimensional interactive image output of a partial differential equation, the method comprising the steps of: Performing coordinate conversion of a 3D image by the CPU, setting the boundary conditions required for the simulation according to the coordinate conversion result, and inputting the boundary condition to the GPU, That is, by calculating the coordinate value of the 3D image as the boundary condition of the PDE simulation; B. GPU performs a numerical simulation of the partial differential equation according to the boundary condition provided by the step A; C. GPU calculates the drawing element according to the numerical simulation result, and draws with A visual image of a change in physical quantity is superimposed on the aforementioned three-dimensional image, and a three-dimensional interactive image is formed by a display unit. 如申請專利範圍第26項所述之電腦程式產品,在步驟B及步驟C中,CPU及GPU之間的資料傳輸僅涉及CPU傳輸工作指令至GPU,以及GPU完成工作後,傳輸回饋指令至CPU。 For example, in the computer program product described in claim 26, in step B and step C, the data transfer between the CPU and the GPU only involves the CPU transmitting the work instruction to the GPU, and after the GPU completes the work, transmitting the feedback instruction to the CPU. . 如申請專利範圍第26項所述之電腦程式產品,其中步驟B的數值模擬係使用有限體積法,包含計算有限體積法之分離通量及計算有限體積法的狀態。 The computer program product of claim 26, wherein the numerical simulation of step B uses a finite volume method, including calculating the separation flux of the finite volume method and calculating the state of the finite volume method. 如申請專利範圍第26項所述之電腦程式產品,在步驟C中,GPU結合CUDA語法加速計算速度。 In the computer program product described in claim 26, in step C, the GPU combines the CUDA syntax to speed up the calculation. 如申請專利範圍第26項所述之電腦程式產品,其中步驟A的三維影像係由一攝影單元拍攝一標記之拍攝影像所產生的擴增實境影像。 The computer program product of claim 26, wherein the three-dimensional image of step A is an augmented reality image generated by a photographing unit that captures a marked image. 如申請專利範圍第30項所述之電腦程式產品,其中該標記為實體物或投影影像。 The computer program product of claim 30, wherein the mark is a physical object or a projected image. 如申請專利範圍第30項所述之電腦程式產品,在執行步驟A之前,係先由CPU執行電腦系統程序初始化設定工作,包括有下列步驟:A1.在前述顯示單元顯示繪圖應用程式被初始化;A2.CPU指定電腦主機所需的記憶體空間; A3.將所需模擬之偏微分方程式複製到GPU的記憶體空間;A4.使用擴增實境工具啟動該攝影單元。 For example, in the computer program product described in claim 30, before performing step A, the CPU first executes the computer system program initialization setting work, including the following steps: A1. The display unit is displayed in the display unit to be initialized; A2. CPU specifies the memory space required by the host computer; A3. Copy the partial differential equation of the desired simulation to the memory space of the GPU; A4. Start the camera unit using the Augmented Reality tool. 如申請專利範圍第30項所述之電腦程式產品,在步驟C之後,包含有步驟D:由CPU執行電腦系統程序結束工作,包括下列步驟:D1.釋放GPU的記憶體空間;D2.釋放電腦主機的記憶體空間;D3.結束該攝影單元之操作;D4.結束該顯示單元之操作。 For example, the computer program product described in claim 30, after step C, includes step D: the computer system program is executed by the CPU, including the following steps: D1. releasing the memory space of the GPU; D2. releasing the computer The memory space of the host; D3. Ending the operation of the photographing unit; D4. Ending the operation of the display unit.
TW100142534A 2011-11-21 2011-11-21 A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed TWI597686B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW100142534A TWI597686B (en) 2011-11-21 2011-11-21 A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed
CN201210399574.1A CN103198506B (en) 2011-11-21 2012-10-19 Image output method and device for solving PDEs (product data systems) in cooperation with GPU (graphics processing Unit)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW100142534A TWI597686B (en) 2011-11-21 2011-11-21 A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed

Publications (2)

Publication Number Publication Date
TW201322177A TW201322177A (en) 2013-06-01
TWI597686B true TWI597686B (en) 2017-09-01

Family

ID=48721006

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100142534A TWI597686B (en) 2011-11-21 2011-11-21 A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed

Country Status (2)

Country Link
CN (1) CN103198506B (en)
TW (1) TWI597686B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW449730B (en) * 1998-10-14 2001-08-11 Hitachi Ltd A three dimensional graphic processor
TW200636613A (en) * 2004-11-15 2006-10-16 Sharp Kk Three dimensional graphics processing apparatus, image display apparatus, three dimensional graphics processing method, control program and computer-readable recording medium
US20090102859A1 (en) * 2007-10-18 2009-04-23 Yahoo! Inc. User augmented reality for camera-enabled mobile devices

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101814193A (en) * 2010-03-09 2010-08-25 哈尔滨工业大学 Real-time volume rendering method of three-dimensional heart data based on GPU (Graphic Processing Unit) acceleration

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW449730B (en) * 1998-10-14 2001-08-11 Hitachi Ltd A three dimensional graphic processor
TW200636613A (en) * 2004-11-15 2006-10-16 Sharp Kk Three dimensional graphics processing apparatus, image display apparatus, three dimensional graphics processing method, control program and computer-readable recording medium
US20090102859A1 (en) * 2007-10-18 2009-04-23 Yahoo! Inc. User augmented reality for camera-enabled mobile devices

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Jiangjian Xiao, " 3D Object Transfer Between Non-Overlapping Videos", Virtual Reality Conference, 25-29 March 2006, pages 127-134. Sætra, Martin Lilleeng, " Solving Systems Of Hyperbolic PDEs Using Multiple GPUs", Master thesis, 2007/07/13. *

Also Published As

Publication number Publication date
CN103198506A (en) 2013-07-10
CN103198506B (en) 2017-09-12
TW201322177A (en) 2013-06-01

Similar Documents

Publication Publication Date Title
Lin et al. Visualization of indoor thermal environment on mobile devices based on augmented reality and computational fluid dynamics
KR102358543B1 (en) Authoring of augmented reality experiences using augmented reality and virtual reality
CN114792359B (en) Rendering network training and virtual object rendering method, device, equipment and medium
CN110568923A (en) unity 3D-based virtual reality interaction method, device, equipment and storage medium
US20180211434A1 (en) Stereo rendering
US20130147786A1 (en) Method and apparatus for executing high performance computation to solve partial differential equations and for outputting three-dimensional interactive images in collaboration with graphic processing unit, computer readable recording medium, and computer program product
CN103413344A (en) 3D frame animation realization method, device and terminal
CN103337093A (en) Method for realizing three-dimensional machine room real-time temperature field effect based on Unity3D shader
CN102254346A (en) Method for detecting augmented reality virtual-real collision based on cloud computing
CN116682293A (en) Experimental Teaching System Based on Augmented Reality and Machine Vision
CN114266876B (en) Positioning method, visual map generation method and device
Liu et al. Lightweight websim rendering framework based on cloud-baking
CN110517345A (en) A kind of method and device of threedimensional model rendering
CN104463934B (en) A kind of point-based surface Automatic Generation of Computer Animation method of " mass spring " system drive
US20130106887A1 (en) Texture generation using a transformation matrix
CN102663208A (en) Method for carrying out large-eddy simulation real-time rendering by utilizing graphic processing unit (GPU)
CN101425188A (en) Generalized spring vibrator deformation emulating method with rigid core
TWI597686B (en) A method and apparatus for executing high performance computation to solve pdes and for outputting three-dimensional interactive images in collaboration with a gpu is disclosed
CN114758108A (en) Virtual object driving method, device, storage medium and computer equipment
CN117078846A (en) 3D visual real-time simulation method, system and product for GPU multi-point rendering
CN110163944B (en) Drawing method based on hydrodynamics simulation on panoramic sphere
Phelps et al. Utilizing Parallelism and Multithreading for Iterative Refinement of Antenna Pattern Visualization
CN111652980A (en) A complex virtual reality simulation system based on particle system
CN116958450B (en) Human body three-dimensional reconstruction method for two-dimensional data
Uehara et al. MovieMaker: a parallel movie-making software for large-scale simulations