Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Oct 5, 2023
1 parent 2b7fe0a commit a708279
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion onnxruntime/core/providers/cuda/cuda_execution_provider.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ class CUDAExecutionProvider : public IExecutionProvider {

PerThreadContext& GetPerThreadContext() const;
void ReleasePerThreadContext() const;
DataLayout GetPreferredLayout() const override { return DataLayout::NHWC; }
};

} // namespace onnxruntime
2 changes: 1 addition & 1 deletion onnxruntime/core/providers/js/js_execution_provider.cc
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ std::vector<std::unique_ptr<ComputeCapability>> JsExecutionProvider::GetCapabili
const KernelCreateInfo* webgpu_kernel_def = kernel_lookup.LookUpKernel(node);
// none of the provided registries has a webgpu kernel for this node
if (webgpu_kernel_def == nullptr) {
LOGS(*GetLogger(), ERROR) << "webgpu kernel not found in registries for Op type: " << node.OpType() << " node name: " << node.Name();
LOGS(*GetLogger(), INFO) << "webgpu kernel not found in registries for Op type: " << node.OpType() << " node name: " << node.Name();

Check warning on line 669 in onnxruntime/core/providers/js/js_execution_provider.cc

View workflow job for this annotation

GitHub Actions / Lint C++

[cpplint] reported by reviewdog 🐶 Lines should be <= 120 characters long [whitespace/line_length] [2] Raw Output: onnxruntime/core/providers/js/js_execution_provider.cc:669: Lines should be <= 120 characters long [whitespace/line_length] [2]
continue;
}
candidates.push_back(node.Index());
Expand Down

0 comments on commit a708279

Please sign in to comment.