Techniques for Designing GPGPU Games. Mark Joselli Esteban Clua

Similar documents
Presenter s biographies

AGENT PLATFORM FOR ROBOT CONTROL IN REAL-TIME DYNAMIC ENVIRONMENTS. Nuno Sousa Eugénio Oliveira

Understanding Microgrids as the Essen1al Architecture of Smart Energy

MACHINE LEARNING Games and Beyond. Calvin Lin, NVIDIA

Computational Efficiency of the GF and the RMF Transforms for Quaternary Logic Functions on CPUs and GPUs

Digital Repositories, Publishing and Scholarship

Data-Starved Artificial Intelligence

Bowdoin Computer Science

Bowdoin Computer Science

Joe Gorman Project Coordinator SINTEF ICT, Trondheim, Norway

GALAXIAN: CSEE 4840 EMBEDDED SYSTEM DESIGN. Galaxian. CSEE 4840 Embedded System Design

Applicability of GPGPU Computing to Real-Time AI Solutions in Games

Immersive Interaction Group

Monte Carlo integration and event generation on GPU and their application to particle physics

INTRODUCTION TO GAME AI

Inverter Current Control in Weak Distribu3on Grids. Christoph Kammer, Alireza Karimi Automa3c Control Laboratory EPFL

Advanced Game AI. Level 6 Search in Games. Prof Alexiei Dingli

Interactive Visualizations for Cyber-

Following the Path to Global Success

UT^2: Human-like Behavior via Neuroevolution of Combat Behavior and Replay of Human Traces

IHV means Independent Hardware Vendor. Example is Qualcomm Technologies Inc. that makes Snapdragon processors. OEM means Original Equipment

Preparing the Future Workforce for Careers in Science and Engineering. Steven I. Gordon

The role of MNEs for innova1on networks. Petra Ahrweiler Michel Schilperoord UCD Innova1on Research Unit IRU

GPU-accelerated track reconstruction in the ALICE High Level Trigger

Crowd-steering behaviors Using the Fame Crowd Simulation API to manage crowds Exploring ANT-Op to create more goal-directed crowds

Architecting Systems of the Future, page 1

Part 1: Introduc.on to RLS 1.1 Spec. Part 2: Introduc.on to RoIS 1.0 Spec. Part 3: Introduc.on of UNR Pla<orm

Research Goal 22/03/17. BERGAMO2035_A NEW URBAN CONCEPT. A model for mid-size european cities. Fulvio Adobati Sergio Cavalieri Matteo Kalchschmidt

Kornél Lehőcz Software development consultant

List of Figures List of Tables. Chapter 1: Introduction 1

Stream Profiles Career Opportunities

Toward a methodological framework for integrating governance in regional-scale low-carbon scenarios

Digital Autonomy in the Internet of Things Era

Concluding remarks. Makoto Asai (SLAC SD/EPP) April 19th, 2015 Geant4 MC2015

Collective Robotics. Marcin Pilat

COMPUTER GAME DESIGN (GAME)

Establishment of a Multiplexed Thredds Installation and a Ramadda Collaboration Environment for Community Access to Climate Change Data

FU-Fighters. The Soccer Robots of Freie Universität Berlin. Why RoboCup? What is RoboCup?

Formal Game Proposal

SPACEYARD SCRAPPERS 2-D GAME DESIGN DOCUMENT

Emergent s Gamebryo. Casey Brandt. Technical Account Manager Emergent Game Technologies. Game Tech 2009

Job Description. Commitment: Must be available to work full-time hours, M-F for weeks beginning Summer of 2018.

CSE548, AMS542: Analysis of Algorithms, Fall 2016 Date: Sep 25. Homework #1. ( Due: Oct 10 ) Figure 1: The laser game.

Introduction to Game Design. Truong Tuan Anh CSE-HCMUT

ProBeam: A Prac,cal Mul,cell Beamforming System for Small- cell Networks

Taking poli+cal objec+ves seriously when analyzing innova+on policy tools The case of Russia

A Study of Optimal Spatial Partition Size and Field of View in Massively Multiplayer Online Game Server

COS 140: Foundations of Computer Science

Supporting the Design of Self- Organizing Ambient Intelligent Systems Through Agent-Based Simulation

Visualization Laboratory

A Genetic Algorithm for Solving Beehive Hidato Puzzles

Artificial Intelligence (AI) Artificial Intelligence Part I. Intelligence (wikipedia) AI (wikipedia) ! What is intelligence?

CS 354R: Computer Game Technology

An Agent-Based Architecture for Large Virtual Landscapes. Bruno Fanini

IPv4 Alloca+on Implica+ons

MA/CS 109 Computer Science Lectures. Wayne Snyder Computer Science Department Boston University

Kornél Lehőcz

EarthCube Conceptual Design: Enterprise Architecture for Transformative Research and Collaboration Across the Geosciences

High Performance Computing for Engineers


Gaming Development. Resources

Opera&on of the Upgraded ATLAS Level- 1 Central Trigger System

Data acquisi*on and Trigger - Trigger -

EM Simulation of Automotive Radar Mounted in Vehicle Bumper

CURIE Academy 2014 Design Project: Exploring an Internet of Things

Toshiba Global Internship 2018

GPU ACCELERATED DEEP LEARNING WITH CUDNN

Advanced Computer Aided Design COURSE OUTLINE

Intelligent Power Economy System (Ipes)

Model Based Systems Engineering with MagicGrid

Where Tegra meets Titan! Prof Tom Drummond!

IAIP: INTELLIGENT SYSTEMS APPLIED TO INDUSTRIAL PROCESSES SPECIAL SESSION AT INTELLI 2017

Overview of current developments in haptic APIs

Supporting x86-64 Address Translation for 100s of GPU Lanes. Jason Power, Mark D. Hill, David A. Wood

Game Architecture. 4/8/16: Multiprocessor Game Loops

Architecture. Architecture Representation

Outline of the presenta<on. QA and codec performance evalua<on

University of Technology. Control and Systems Eng. Dept. Curriculum Vitae (C.V.)

the question of whether computers can think is like the question of whether submarines can swim -- Dijkstra

ConvNets and Forward Modeling for StarCraft AI

Recent Advances in Simulation Techniques and Tools

MEDIA AND INFORMATION

Technology Challenges in Command and Control

Document downloaded from:

How AI Won at Go and So What? Garry Kasparov vs. Deep Blue (1997)

DOCTORAL THESIS (Summary)

Game Artificial Intelligence ( CS 4731/7632 )

Global Alzheimer s Association Interactive Network. Imagine GAAIN

CUBES IN A CAVE VISUALISATION AND ANALYSIS CHALLENGES FOR THE SKA ERA. Christopher Fluke

Game AI Overview. What is Ar3ficial Intelligence. AI in Games. AI in Game. Scripted AI. Introduc3on

LEGO car course topics

The Field of Systems Management, Graduate School of Engineering, Nagoya Institute of Technology, Nagoya, Aichi , Japan

AI Applications in Genetic Algorithms

Simula'on of e-astrogam

Comp th February Due: 11:59pm, 25th February 2014

University of Luxembourg

Introduction. Ioannis Rekleitis

Swarm AI: A Solution to Soccer

5G Video Experience VR/AR Live Streaming InterDigital, Inc. All Rights Reserved.

Rapid Prototyping of Wireless Physical Layer Modules Using Flexible Software/Hardware Design Flow

Transcription:

Techniques for Designing GPGPU Games Mark Joselli Esteban Clua

Presenta?on; Background; Mo?va?on; Objec?ves; Games and GPGPU; Techniques analyzed; Examples; Conclusions; Agenda

Presenta?on: Mark Joselli Chief- Developer- Officer of Nullpointer; Senior Research of MediaLab/UFF; Professor of games in Fac. CCAA; Game Developer; Researcher in GPGPU; Created the first Framework for GPGPU games;

Presenta?on: Prof. Esteban Clua, Dr. Associate Professor of Universidade Federal; Fluminense Rio de Janeiro Brazil; Director of MediaLab/UFF; CUDA Research Center at UFF;

About: Nullpointer Created in 2004, NullPointer acts as a development and innova?on lab facility in Rio de Janeiro, working with academic / private research centers; We are strongly focused on market requirements, applying the professional experience of our team to real life situa?ons within the retail, telecommunica?ons and financial industries; The company has also expanded into a technology consultancy role, especially with regards to GPU compu?ng pla[orms.

About: MediaLab/UFF First CUDA Research Center in Brazil; During many years, since the beginning of the concept of GPGPU, we have been researching games and the use of GPGPU with them; We are a laboratory of games, scien?fic simula?on and HPC with the use of GPGPU; We compose a team of researches who are phds, masters and graduates;

Mo?va?on High processing power of the GPUs, the GPUs are very powerful and games, as real?me applica?ons, need its power to add performance; Nowadays gaming hardware is able to process tasks in parallel (PlaySta?on, Xbox, mul?- cores CPUs, GPUs );

Objec?ves Present some techniques to get advantage of the GPUs in games; Present a framework for valida?ng the techniques; Present a game for valida?ng the framework;

Games and GPGPU Most of todays use of GPU in games is resumed in physics (PhysX); But also the behavior could be implemented in the GPU; As far as we know, there are no projects that deals all the game logic on the GPU;

Techniques Analysed Avoid CPU- GPU transfer One of boalenecks of GPU s applica?on is the transfer?me between the CPU- GPU; Shared Memory The use of shared memory can op?mize the GPGPUs kernels in up to 50%; Integrate the AI Behavior with Physics Some algorithms that both tasks process are repeated, and should be integrated;

Architecture The CPU is responsible for: Windows Crea?on; Gather input and send it to the GPU; Make the GPU calls; Play sound effects; Finish the applica?on;

Architecture The GPU is responsible for processing the game logic, like: Process the input; The game physics; The en??es/enemies behavior; This way we avoid the CPU- GPU data transfers;

Architecture The game logic is divided in 4 different threads: Main: which process score and player input; Enemy: which process the enemies behavior; Shoot: which process the shot behavior; Empty: which does not process no?ng;

Threads

Broad Phase of the Physics The same method for neighborhood gathering of the collision detec?on is used for simula?ng the enemies vision ; For that our framework can use two kinds of neighborhood gathering algorithms: Uniform Grid and Neighborhood Grid;

Neighborhood Gathering The uniform grid is a common way of gather neighbors of en??es; The neighborhood grid is new data structure for this mechanism;

Neighborhood Gathering In the neighborhood grid, each en?ty is mapped to a individual cell (1:1 mapping) according to its spa?al loca?on; Par?cles that are close in a geometric neighborhood sense are mapped to be close in the grid sense; In order to keep the neighborhood grid property, a sor?ng mechanism is done.

AI This framework implements state- machines for the AI of the enemies; And also behavior of allies and scenery objects and en??es;

AI: Example

Test Crowd Using the framework we have implemented a flocking boids scenarios; Can process and render up to 2MM boids in real-?me, while using the CPU can only 10K and a misc. CPU- GPU 100K;

Test: Crowd Test

Test Game: GPU Wars Game based on Geometric wars; The player represents a GPU card inside the Computer and needs to process polygons, shaders and data by shoo?ng them; Can process and render up to 16K en??es in real?me while the misc. CPU- GPU can process 8K and CPU 4K;

Test Game: GPU Wars

Conclusions We presented a framework for simple games that: uses prac?cally only the GPU to process the logic; Integrates the physics with AI;

Ques?ons mjoselli@nullpointer.com.br