Google Cloud Platform Slide: http://www.slideshare.net/littleq0903/introduction-to-google-cloud-platform/1 What is google cloud platform Using google storage Goole bandwidth Cloud encapsulation Cloud Platform: Cloud SQL it is MySQL 5.5 Cloud Datastore NoSQL (Non-Relationshop SQL) storage. Much faster than normally SQL. Cloud Storage: Protection, similar with Google Drive GAE It much better performance for now. Full Functional Service feature: Scalable Normally LAMP Apache2 (three apache )with one DB. Master/Slave DB mapping with Apache2. PaaS (Platform as a Service) GAE (Google App Engine) Language: PHP,JAVA, Python GO: (New language), refer https://developers.google.com/appengine/docs/go/gettingstarted/helloworld Communication: Channel: Using Web socket Mail: Using specific mail alias to pass some email to GAE to parsing. XMPP: message like Facebook and google talk. Outbound socket Only outbound could pass socket to another service from GAE. Process manager: Cron Job: Similar with Crontab. Computation: Image API: For image resizing or scaling. Map-reduce: Like OpenCL or multiple threading. Application: Big Query: Terabyte data analysis SQL-like Google...
Basic requirement:
VS2012 runtime
DX11 runtime
Use test program “VerifyAmpDevices” to verify it
Advantage:
Compatible with any GPU which could run DX11 with one EXE.
NVIDIA GPUs
AMD GPUs (and APUs)
Intel GPUs (Ivy Bridge and later)
ARM GPUs from various IHVs (soon, e.g. see Mali design)
Could use Visual Studio IDE for GPU threading debugging
Could use Visual Studio IDE for GPU profiling
Base on C++ and STL
Performance Comparison: (refer here)
**
** Video Clip:
http://channel9.msdn.com/Events/AMD-Fusion-Developer-Summit/AMD-Fusion-Developer-Summit-11/KEYNOTE AFDS keynote which also introduce C++ AMP concept.
Code Resource:
Hello world with C++ AMP http://blogs.msdn.com/b/nativeconcurrency/archive/2012/04/30/hello-world-using-textures-in-c-amp.aspx
All C++ AMP samples: http://blogs.msdn.com/b/nativeconcurrency/archive/2012/01/30/c-amp-sample-projects-for-download.aspx
Very simple code sample slide: http://ecn.channel9.msdn.com/content/DanielMoth_CppAMP_Intro.pdf
Detail analysis article http://kheresy.wordpress.com/2011/06/16/c-accelerated-massive-parallelism/
Limitation on C++ AMP http://blogs.msdn.com/b/nativeconcurrency/archive/2012/02/07/double-precision-support-in-c-amp.aspx
WDDM 1.1, there will be double precision problem, only resolve on WDDM 1.2 (Win8)
Related code survey found: Debugging in Intel is easy refer Using the Intel® OpenCL SDK Debugger Add file path when you build cl program Note: Must using original path not copy path. EX: If you copy your CL file in post build process, need add original path not debugging CL code path. Note: Path need full path Enable Intel OpenCL SDK debugging in toolIntel SDK Note: Work item set 0,0,0 as default is enough. OpenCL kernel need warm up Run any other kernel code first (even not the same application), it will speed up your major CL kernel code AMD’s magic number is to run “twice” on dump kernel Testing result: (SW/CPU 160ms) Intel: 1st time setup 700ms, effect 160 AMD: 1st time setup 6000ms effect 16ms 2nd time setup 160ms effect 16ms (it might goes to 0ms some time) It could be reduce time to pre-load *.cl file but no...
This article is a record to summarized my project to migration from Three20 to Nimbus. Here is specific step by step to help you porting (migrate) your three20 Original project is a Facebook photo album which implement base on http://www.raywenderlich.com/1430/three20-tutorial-for-ios-how-to-use-the-three20-photo-viewer Add Nimbus in your project Sync code git clone https://github.com/jverkoey/nimbus.git Goes to nimbus path git submodule init git submodule update Include nimbus code in project Core Photos Paging Scroll View Models Overview Include Thirdparty in your code JSONKit remember to add “-fno-objc-arc” on Targets -> Build Phase -> Compiling Phase to disable ARC compiling AFNetworking Add framework libz.dylib MobileCoreServices.framework SystemConfiguration.framework CFNetwork.framework Add those three include in your pch #import “NimbusCore.h” #import “NimbusPhotos.h” #import “NimbusModels.h” Remove original Three20 project Remove all Three20 xproj in your framework. Replace using to replace TTPhotoViewController to FacebookPhotoAlbumViewController Remove photo.h Photo.m Remove PhotoSet.h PhotoSet.m Remove PhotoViewController.h PhotoViewController.m Drag NimbusPhotos.bundle from src/photos/resources into your project. Add follow file into...