Recent Trends in Parallel Computing

GPU Based Non-Serial Polyadic Dynamic Programming Template

  1. Mohsin Altaf Wani ✉
  2. Dr. Manzoor Ahmad

Abstract

AbstractNon-serial polyadic dynamic programming algorithms are used to solve combinatorial optimization problems like optimal polygon triangulation, optimal matrix multiplication and RNA secondary structure prediction using Zuker algorithm. They have irregular data access patterns and are complicated dynamic programming algorithms. Each computation is dependent on multiple entries computed earlier in the process. We provide a GPU based algorithm template that is optimized for non-serial polyadic dynamic programming algorithms. This template requires only sequential specification of a particular problem for execution on a GPU. Our algorithm template provides users the performance of massively parallel processors without having to develop the parallel algorithms entirely from scratch. Our implementation using CUDA provides up to 50 times better performance in certain test cases. Keywords: Non-Serial Polyadic Dynamic Programming (NPDP), CUDA, GPU, skeletonCite this ArticleMohsin Altaf Wani, Manzoor Ahmad. GPU Based Non-Serial Polyadic Dynamic Programming Template. Recent Trends in Parallel Computing. 2017; 4(3): 29–39p.

References (20)

  1. Wani Mohsin A, Manzoor Ahmad. A Fast GPU Based Implementation of Optimal Binary Search Tree Using Dynamic Programming. Communications in Computer and Information Science Book Series (CCIS, Volume 750), (Conference Proceedings). Oct 2017.
  2. Ananth Grama, Anshul Gupta, George Karypis, et al. Introduction to Parallel Computing. 2nd Edn. Addison Wesley; 2003.
  3. NVidia Corp. CUDA Programming Guide, Version 4.1 . 2011. http://docs.nvidia.com/cuda/cuda-c- programming-guide/. 1 10 100 1000 10000 100000 1000000 10000000 100000000 4096 6144 8192 10240 12288 14336 16384 CPU GPU Recent Trends in Parallel Computing Volume 4, Issue 3 ISSN: 2393-8749 (Online) RTPC (2017) 29-39 © STM Journals 2017. All Rights Reserved Page 39
  4. Cormen TH, Lieserson CE, Rivest RL. Introduction to Algorithms . 4th Edn. MIT Press; 1990.
  5. Neapolitan R, Naimipour K. Foundations of A lgorithms using C++ Pseudo Code . Jones & Bartlett; 2003.
  6. Hwu WW. GPU Computing Gems . Emerald Edn. Morgan Kaufmann; 2011.
  7. NVidia Corp. CUDA C Best Practices Guide Version 4.1 . 2011. http://docs.nvidia.com/cuda/cuda-c-best- practices-guide/.
  8. Nishida K, Ito Y, Nakano K. Accelerating the Dynamic Programming for the Optimal Polygon Triangulation on the GPU.Algorithms and Architectures for Parallel Processing . Berlin Heidelberg: Springer-Verlag; 2012; 1–15p.
  9. Nishida K, Ito Y, Nakano K. Accelerating the Dynamic Programming for the Matrix Chain Product on the GPU. Networking and Computing (ICNC), IEEE. 2011; 320– 326p.
  10. Liu Y, Schmidt B. GSWABE: Faster GPU-Accelerated Sequence Alignment with Optimal Alignment Retrieval for Short DNA Sequ ences. Concurrency and Computation: Practice and Experience. John Wiley & Sons Ltd.; Sep 2014; 27(4): 958–972p.
  11. Li K, Liu J, Wan L, et al. A Cost-Optimal Parallel Algorithm for the 0 –1 Knapsack Problem and its Performance on Multicore CPU and GPU Implement ations. Parallel Computing, Elsevier. Mar 2015; 43: 27 – 42p
  12. Man D, Uda K, Ito Y, et al. A GPU Implementation of Computing Euclidean Distance Map. Networking and Computing (ICNC), IEEE. 2011; 68–76p.
  13. Chakroun I, Melab N. An Adaptative Multi-GPU Based Branch -and-Bound. A Case Study: The Flow-Shop Scheduling Problem. HPCC'12 Proceedings of the 2012 IEEE 14th International Conference, IEEE ComputSoc, Washington, DC, USA. 2012; 389–395p.
  14. Gmys J, Mezmaz M, Melab N, et al. A GPU-Based Branch-and-Bound Algorithm Using Integer-Vector-Matrix Data Structure. Parallel Comput ing, Elsevier . 2016.
  15. Chakroun I, Melab N. Operator-Level GPU-Accelerated Branch and Bound Algorithms. Procedia Computer Sci, 2013 International Conference on Computational Science . 2013; 18: 280– 289p.
  16. Tan G, Feng S, Sun N. Locality and Parallelism Optimization for Dynamic Programming Algorithm in Bioinformatics. SC 2006 Conference Proceedings of the ACM/IEEE , IEEE . 2006; 41p.
  17. NVidia Corp . NVIDIA’s Next Generation CUDA Compute Architecture: Fermi . 2009. http://www.nvidia.com/content/pdf/fermi_ white_papers/nvidia_fermi_compute_archi tecture_whitepaper.pdf 2009.
  18. Bo Han, Yongquan Lu . Research on Optimization and Parallelization of Optimal Binary Search Tree using Dynamic Programming .Advances in Intelligent Systems Research ,Atlantis Press; Nov 2012.
  19. Jean Frédéric Myoupo , Vianney Kengne Tchendji. Parallel Dynamic Program ming for Solving the Optimal Search Binary Tree Problem on CGM . International Journal of High Performance Computing and Networking (IJHPCN), Geneva, Switzerland: Inderscience Publishers ; Jun 2014; 269–280p.
  20. Guang Ming Tan, Sheng zhong Feng , Ninghui Sun . Locality and Parallelism Optimization for Dynamic Programming Algorithm in Bioinformatics . Proceedings of the 2006 ACM/IEEE Conference on Supercomputing, Article No. 78, Tampa, Florida. Nov 11–17, 2006. Cite this Article Mohsin Altaf Wani, Manzoor Ahmad. GPU Based Non -Serial Polyadic Dynamic Programming Template . Recent Trends in Parallel Computing. 2017; 4(3): 29–39p.

Read more of it

Subscribe to one journal or build your own list of several. One invoice, one payment, access for a full year.

Subscribe to journals →

Publish your article

Peer-reviewed journals across every subject, with open access options. Send your manuscript to the right editor today.

Publish with us → Calculate your APC
Support