You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grcuda 132 refactor deviceselectionpolicy in grcudastreampolicy (#50)
* Each policy type has a separated class
* Keep only retrieveImpl
* Now TransferTimeDeviceSelectionPolicy extends DeviceSelectionPolicy
* Delete previously commented methods and clean code
* added license for each file
Copy file name to clipboardExpand all lines: projects/com.nvidia.grcuda.test/src/com/nvidia/grcuda/test/runtime/executioncontext/GrCUDAStreamPolicyMockTest.java
+40-8Lines changed: 40 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,33 @@
1
+
/*
2
+
* Copyright (c) 2020, 2021, NECSTLab, Politecnico di Milano. All rights reserved.
3
+
*
4
+
* Redistribution and use in source and binary forms, with or without
5
+
* modification, are permitted provided that the following conditions
6
+
* are met:
7
+
* * Redistributions of source code must retain the above copyright
8
+
* notice, this list of conditions and the following disclaimer.
9
+
* * Redistributions in binary form must reproduce the above copyright
10
+
* notice, this list of conditions and the following disclaimer in the
11
+
* documentation and/or other materials provided with the distribution.
12
+
* * Neither the name of NECSTLab nor the names of its
13
+
* contributors may be used to endorse or promote products derived
14
+
* from this software without specific prior written permission.
15
+
* * Neither the name of Politecnico di Milano nor the names of its
16
+
* contributors may be used to endorse or promote products derived
17
+
* from this software without specific prior written permission.
18
+
*
19
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY
20
+
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22
+
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23
+
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24
+
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25
+
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26
+
* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
27
+
* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28
+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 commit comments