dispatcher.cc (11435:0f1b46dde3fa) | dispatcher.cc (11534:7106f550afad) |
---|---|
1/* 2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 373 unchanged lines hidden (view full) --- 382 383// helper functions for driver to retrieve GPU attributes 384int 385GpuDispatcher::getNumCUs() 386{ 387 return shader->cuList.size(); 388} 389 | 1/* 2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc. 3 * All rights reserved. 4 * 5 * For use for simulation and test purposes only 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions are met: --- 373 unchanged lines hidden (view full) --- 382 383// helper functions for driver to retrieve GPU attributes 384int 385GpuDispatcher::getNumCUs() 386{ 387 return shader->cuList.size(); 388} 389 |
390int 391GpuDispatcher::wfSize() const 392{ 393 return shader->cuList[0]->wfSize(); 394} 395 |
|
390void 391GpuDispatcher::setFuncargsSize(int funcargs_size) 392{ 393 shader->funcargs_size = funcargs_size; 394} | 396void 397GpuDispatcher::setFuncargsSize(int funcargs_size) 398{ 399 shader->funcargs_size = funcargs_size; 400} |