P4 to Git Change 1326088 by gandryey@gera-brahma on 2016/10/13 12:23:26

SWDEV-86035 - Support for PAL Linux build

Affected files ...

... //depot/stg/opencl/drivers/opencl/appprofiles/brahma/apl.cpp#3 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palcounters.cpp#6 edit
Tá an tiomantas seo le fáil i:
foreman
2016-10-13 12:45:03 -04:00
tuismitheoir 763f18c702
tiomantas 7b1e7df79c
+1 -1
Féach ar an gComhad
@@ -69,7 +69,7 @@ uint64_t PalCounterReference::result(int index)
}
if (layout_ != nullptr) {
assert(index <= layout_->sampleCount && "index not in range");
assert(index <= static_cast<int>(layout_->sampleCount) && "index not in range");
const Pal::GlobalSampleLayout& sample = layout_->samples[index];
if (sample.dataType == Pal::PerfCounterDataType::Uint32) {
uint32_t beginVal = *reinterpret_cast<uint32_t*>(reinterpret_cast<char*>(cpuAddr_) + sample.beginValueOffset);