Giter VIP home page Giter VIP logo

yang-2014's Introduction

gpurtm

Name of the program: 2D prestack GPU-based RTM using effective boundary saving

Name of the manuscript: RTM using effective boundary saving: A staggered grid GPU implementation

Author(s) details:

Pengliang Yang(1), Jinghuai Gao(2), Baoli Wang(3)

Address: 	Institute of Wave and Information, 
		School of Electronic and Information Engineering, 
		Xi'an Jiaotong University, 
		Xi'an,  P.R. China
	and 	
		Bureau of Economic Geology, 
		Jackson School of Geosciences, 
		The University of Texas at Austin, TX, USA


Email(s):	(1) [email protected]
		(2) [email protected]
		(3) [email protected]

Notice: There is Matlab code to compute the staggered grid finite difference coefficients with varying even-order (NJ=2N). Assume you are finding the 10-th order finite difference coefficients. In principle, you should run the following commands in Matlab command window!

format long
NJ=10;
c=staggered_fdcoeff(NJ)

Instructions of the program: 1. To test the GPU-based RTM codes, you need CUDA well-installed; 2. You also need development version of Madagascar installed; 3. To reproduce the Marmousi example, rename SConstruct1.txt as SConstruct and run 'scons view' in that directory; 4. To reproduce the Sigsbee example, rename SConstruct2.txt as SConstruct and run 'scons view' in that directory;

The codes has already installed in the Madagascar development version, the cuda codes lie in $RSFSRC/user/pyang and the example scripts lie in $RSFSRC/book/pyang/gpurtm. Make sure the Internet is connected when run SConstructs because the marmousi and sigsbee models need to be downloaded.

Caution: Due to limited GPU resource on my laptop (NVS5400M GDDR3 2048M), I have to store a large amount of boundaries using pinned memory, which may degrade the speed performance a lot! It means that I have to run hours to obtain the images. If you have enough GPU resource, you may not need to do so! The speedup will improve a lot!

Enjoy this code!

yang-2014's People

Contributors

yangpl avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.