• DocumentCode
    170556
  • Title

    Enhanced parallel NegaMax tree search algorithm on GPU

  • Author

    Elnaggar, Ahmed A. ; Gadallah, Mahmoud ; Aziem, Mostafa Abdel ; El-Deeb, Hesham

  • Author_Institution
    Comput. Sci. Dept., Modern Acad. in Maadi, Cairo, Egypt
  • fYear
    2014
  • fDate
    16-18 May 2014
  • Firstpage
    546
  • Lastpage
    550
  • Abstract
    Parallel performance for GPUs today surpasses the traditional multi-core CPUs. Currently, many researchers started to test several AI algorithms on GPUs instead of CPUs, especially after the release of libraries such as CUDA and OpenCL that allows the implementation of general algorithms on the GPU. One of the most famous game tree search algorithms is Negamax, which tries to find the optimal next move for zero sum games. In this research, an implementation of an enhanced parallel NegaMax algorithm is presented, that runs on GPU using CUDA library. The enhanced algorithms use techniques such as no divergence, dynamic parallelism and shared GPU table. The approach was tested in checkers and chess games. It was compared with previous studies, including threads on CPU for up to 6× speedup for an 8 core processor and threads on GPU using iterative dependence and fixed grid and block size for up to 40× speedup at 14 depth. Furthermore, the approach was tested with different depths on the CPU and the GPU. The result shows speed up for parallel GPU up to 80× at 14 depth for checkers game and 90× at 14 depth for chess game, which doubled the previous research results.
  • Keywords
    game theory; graphics processing units; iterative methods; multiprocessing systems; parallel architectures; tree searching; 8 core processor; CUDA library; GPU; GPU threads; checkers; chess games; dynamic parallelism; enhanced parallel NegaMax tree search algorithm; famous game tree search algorithms; fixed grid; iterative dependence; multicore CPU; parallel performance; shared GPU table; Algorithm design and analysis; Computers; Games; Graphics processing units; Heuristic algorithms; Libraries; Parallel processing; CUDA; GPGPU; artificial intelligence; game theory; game tree search; parallelism;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Progress in Informatics and Computing (PIC), 2014 International Conference on
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-1-4799-2033-4
  • Type

    conf

  • DOI
    10.1109/PIC.2014.6972394
  • Filename
    6972394