Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions packages/custom_ops/approval_trigger.cu
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Copyright (c) 2026 PaddlePaddle Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This placeholder file intentionally lives under packages/custom_ops so
// changed-file path rules can detect custom operator related changes.
6 changes: 6 additions & 0 deletions tests/common_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ def get_container_type(container):
return container_t


class TestGetContainerType(unittest.TestCase):
def test_empty_container_type(self):
self.assertIs(get_container_type([]), list)
self.assertIs(get_container_type(()), tuple)


class CommonTest(unittest.TestCase):
def __init__(self, methodName="runTest"):
super(CommonTest, self).__init__(methodName=methodName)
Expand Down
Loading