Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pvelesko committed Sep 18, 2024
1 parent 50d1ba5 commit 6587228
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
5 changes: 2 additions & 3 deletions src/CHIPBackend.hh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ class HostAllocFlags {
unsigned int FlagsRaw_;

public:
HostAllocFlags() : FlagsRaw_(hipHostMallocDefault){};
HostAllocFlags() : FlagsRaw_(hipHostMallocDefault) {};
HostAllocFlags(unsigned int FlagsRaw) : FlagsRaw_(FlagsRaw) {
if (FlagsRaw & hipHostMallocDefault) {
Default_ = true;
Expand Down Expand Up @@ -384,7 +384,7 @@ public:
Monitor->monitor();
return 0;
}
virtual void monitor(){};
virtual void monitor() {};

void start() {
logDebug("Starting chipstar::Event Monitor Thread");
Expand Down Expand Up @@ -2191,7 +2191,6 @@ public:
return LastEvent_;
}


/**
* @brief Construct a new Queue object
*
Expand Down
3 changes: 2 additions & 1 deletion src/CHIPBindings.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2749,7 +2749,8 @@ hipError_t hipEventSynchronize(hipEvent_t Event) {
NULLCHECK(Event);
chipstar::Event *ChipEvent = static_cast<chipstar::Event *>(Event);

ChipEvent->wait();
if (ChipEvent->isRecordingOrRecorded())

Check warning on line 2752 in src/CHIPBindings.cc

View workflow job for this annotation

GitHub Actions / cpp-linter

src/CHIPBindings.cc:2752:42 [readability-braces-around-statements]

statement should be inside braces
ChipEvent->wait();

RETURN(hipSuccess);

Expand Down
4 changes: 2 additions & 2 deletions src/backend/Level0/CHIPBackendLevel0.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1474,8 +1474,8 @@ void CHIPQueueLevel0::finish() {
if (zeCmdQOwnership_) {
zeStatus =
zeCommandQueueSynchronize(ZeCmdQ_, ChipEnvVars.getL0EventTimeout());
CHIPERR_CHECK_LOG_AND_THROW_TABLE(zeCommandQueueSynchronize,
"zeCommandQueueSynchronize timeout out");
CHIPERR_CHECK_LOG_AND_THROW_TABLE(zeCommandQueueSynchronize,
"zeCommandQueueSynchronize timeout out");
}

this->LastEvent_ = nullptr;
Expand Down
12 changes: 6 additions & 6 deletions tests/known_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -554,15 +554,15 @@ salami:
x4\d\d\dc\ds\db0n0: # aurora intel_compute_runtime/release/775.20
ALL:
LEVEL0_GPU:
firstTouch: 'Runtime bug'
TestIndirectMappedHostAlloc: '*OutH = 0'
hip_async_binomial: '[2] inf 0x7f800000 5.398513 0x40acc09e'
cuda-lambda: 'OutH == 2'
firstTouch: 'Runtime bug'
TestIndirectMappedHostAlloc: '*OutH = 0'
hip_async_binomial: '[2] inf 0x7f800000 5.398513 0x40acc09e'
cuda-lambda: 'OutH == 2'
OPENCL_CPU:
OPENCL_GPU:
Unit_hipStreamAddCallback_WithDefaultStream: 'timeout'
hip_sycl_interop: 'pi::getPlugin couldn't find plugin -59 (PI_ERROR_INVALID_OPERATION)'
hip_sycl_interop_no_buffers: 'pi::getPlugin couldn't find plugin -59 (PI_ERROR_INVALID_OPERATION)'
hip_sycl_interop: 'pi::getPlugin couldnt find plugin'
hip_sycl_interop_no_buffers: 'pi::getPlugin couldnt find plugin'
OPENCL_POCL:
x1921.*b0n0: # sunspot
ALL:
Expand Down

0 comments on commit 6587228

Please sign in to comment.