mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "fix: Unify logic calculating threads per work group part 2"
This reverts commit 1e8a53bd53.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2d7505c01c
commit
39740da9d1
@@ -12,7 +12,7 @@
|
||||
#include <mutex>
|
||||
|
||||
namespace NEO {
|
||||
class GfxCoreHelper;
|
||||
|
||||
class LocalIdsCache {
|
||||
public:
|
||||
struct LocalIdsCacheEntry {
|
||||
@@ -30,13 +30,13 @@ class LocalIdsCache {
|
||||
LocalIdsCache(size_t cacheSize, std::array<uint8_t, 3> wgDimOrder, uint8_t simdSize, uint8_t grfSize, bool usesOnlyImages = false);
|
||||
~LocalIdsCache();
|
||||
|
||||
void setLocalIdsForGroup(const Vec3<uint16_t> &group, void *destination, const GfxCoreHelper &gfxCoreHelper);
|
||||
void setLocalIdsForGroup(const Vec3<uint16_t> &group, void *destination);
|
||||
size_t getLocalIdsSizeForGroup(const Vec3<uint16_t> &group) const;
|
||||
size_t getLocalIdsSizePerThread() const;
|
||||
|
||||
protected:
|
||||
void setLocalIdsForEntry(LocalIdsCacheEntry &entry, void *destination);
|
||||
void commitNewEntry(LocalIdsCacheEntry &entry, const Vec3<uint16_t> &group, const GfxCoreHelper &gfxCoreHelper);
|
||||
void commitNewEntry(LocalIdsCacheEntry &entry, const Vec3<uint16_t> &group);
|
||||
std::unique_lock<std::mutex> lock();
|
||||
|
||||
StackVec<LocalIdsCacheEntry, 4> cache;
|
||||
|
||||
Reference in New Issue
Block a user