APU Example

Back to Introduction

APU = CPU + GPU


abstract Feature
cost -> integer
performance -> integer
abstract Computer
CPU : Feature
[ cost = 2 ]
[ performance = 0 ]
IntegratedGPU : Feature ?
[ cost = 1 ]
[ performance = 1 ]
SharedMemory : Feature ?
[ cost = 0 ]
[ performance = 0 ]
DiscreteGPU : Feature ?
[ cost = 2 ]
[ performance = 2 ]
total_cost -> integer = sum Feature.cost
total_performance -> integer = sum Feature.performance
OptimalComputer : Computer
Module Downloads: | [.cfr] | [.html] |