SWDEV-495787 [AMDSMI] Different license headers
Change copyrights to MIT and remove date
Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: I16f5b412f2b9ddefaaa1771aa714cc18829a1be4
[ROCm/amdsmi commit: 3052ad4220]
This commit is contained in:
zatwierdzone przez
Joseph Narlo
rodzic
f963f24d63
commit
bad2cc9c23
@@ -1,4 +1,4 @@
|
|||||||
Copyright (c) 2019-2024 Advanced Micro Devices, Inc.
|
Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# PYTHON_ARGCOMPLETE_OK
|
# PYTHON_ARGCOMPLETE_OK
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -20,7 +19,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import math
|
import math
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
### Handle safe initialization for amdsmi
|
### Handle safe initialization for amdsmi
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import csv
|
import csv
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,8 +18,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
import errno
|
import errno
|
||||||
|
|||||||
@@ -1,43 +1,22 @@
|
|||||||
################################################################################
|
################################################################################
|
||||||
|
## Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
##
|
##
|
||||||
## The University of Illinois/NCSA
|
## Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
## Open Source License (NCSA)
|
## this software and associated documentation files (the "Software"), to deal in
|
||||||
|
## the Software without restriction, including without limitation the rights to
|
||||||
|
## use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
## the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
## subject to the following conditions:
|
||||||
##
|
##
|
||||||
## Copyright (c) 2014-2024, Advanced Micro Devices, Inc. All rights reserved.
|
## The above copyright notice and this permission notice shall be included in all
|
||||||
##
|
## copies or substantial portions of the Software.
|
||||||
## Developed by:
|
|
||||||
##
|
|
||||||
## AMD Research and AMD HSA Software Development
|
|
||||||
##
|
|
||||||
## Advanced Micro Devices, Inc.
|
|
||||||
##
|
|
||||||
## www.amd.com
|
|
||||||
##
|
|
||||||
## Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
## of this software and associated documentation files (the "Software"), to
|
|
||||||
## deal with the Software without restriction, including without limitation
|
|
||||||
## the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
||||||
## and#or sell copies of the Software, and to permit persons to whom the
|
|
||||||
## Software is furnished to do so, subject to the following conditions:
|
|
||||||
##
|
|
||||||
## - Redistributions of source code must retain the above copyright notice,
|
|
||||||
## this list of conditions and the following disclaimers.
|
|
||||||
## - Redistributions in binary form must reproduce the above copyright
|
|
||||||
## notice, this list of conditions and the following disclaimers in
|
|
||||||
## the documentation and#or other materials provided with the distribution.
|
|
||||||
## - Neither the names of Advanced Micro Devices, Inc,
|
|
||||||
## nor the names of its contributors may be used to endorse or promote
|
|
||||||
## products derived from this Software without specific prior written
|
|
||||||
## permission.
|
|
||||||
##
|
##
|
||||||
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
## FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
## THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
## COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
## OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
## IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
## ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
## CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
## DEALINGS WITH THE SOFTWARE.
|
|
||||||
##
|
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
## Parses the VERSION_STRING variable and places
|
## Parses the VERSION_STRING variable and places
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|||||||
@@ -1,25 +1,16 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2022, Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* in the Software without restriction, including without limitation the rights
|
* in the Software without restriction, including without limitation the rights
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* sellcopies of the Software, and to permit persons to whom the Software is
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
@@ -28,12 +19,6 @@
|
|||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
* Except as contained in this notice, the name of the Advanced Micro Devices,
|
|
||||||
* Inc. shall not be used in advertising or otherwise to promote the sale, use
|
|
||||||
* or other dealings in this Software without prior written authorization from
|
|
||||||
* the Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package goamdsmi
|
package goamdsmi
|
||||||
|
|||||||
@@ -1,25 +1,16 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* in the Software without restriction, including without limitation the rights
|
* in the Software without restriction, including without limitation the rights
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* sellcopies of the Software, and to permit persons to whom the Software is
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
@@ -28,12 +19,6 @@
|
|||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
* Except as contained in this notice, the name of the Advanced Micro Devices,
|
|
||||||
* Inc. shall not be used in advertising or otherwise to promote the sale, use
|
|
||||||
* or other dealings in this Software without prior written authorization from
|
|
||||||
* the Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,25 +1,16 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* in the Software without restriction, including without limitation the rights
|
* in the Software without restriction, including without limitation the rights
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* sellcopies of the Software, and to permit persons to whom the Software is
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
@@ -28,12 +19,6 @@
|
|||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
* Except as contained in this notice, the name of the Advanced Micro Devices,
|
|
||||||
* Inc. shall not be used in advertising or otherwise to promote the sale, use
|
|
||||||
* or other dealings in this Software without prior written authorization from
|
|
||||||
* the Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "goamdsmi.h"
|
#include "goamdsmi.h"
|
||||||
|
|||||||
@@ -1,25 +1,16 @@
|
|||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* in the Software without restriction, including without limitation the rights
|
* in the Software without restriction, including without limitation the rights
|
||||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* sellcopies of the Software, and to permit persons to whom the Software is
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
@@ -28,12 +19,6 @@
|
|||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
* Except as contained in this notice, the name of the Advanced Micro Devices,
|
|
||||||
* Inc. shall not be used in advertising or otherwise to promote the sale, use
|
|
||||||
* or other dealings in this Software without prior written authorization from
|
|
||||||
* the Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef GO_AMD_SMI_H_
|
#ifndef GO_AMD_SMI_H_
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_AMDSMI_H_
|
#ifndef INCLUDE_AMDSMI_H_
|
||||||
#define INCLUDE_AMDSMI_H_
|
#define INCLUDE_AMDSMI_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_AMD_SMI_COMMON_H_
|
#ifndef AMD_SMI_INCLUDE_AMD_SMI_COMMON_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_DRM_H_
|
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_DRM_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_GPU_DEVICE_H_
|
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_GPU_DEVICE_H_
|
||||||
|
|||||||
@@ -1,24 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2020 - 2024 Advanced Micro Devices, Inc. All rights reserved.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in
|
||||||
|
* all copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_LIB_LOADER_H_
|
#ifndef AMD_SMI_INCLUDE_IMPL_AMD_SMI_LIB_LOADER_H_
|
||||||
#define AMD_SMI_INCLUDE_IMPL_AMD_SMI_LIB_LOADER_H_
|
#define AMD_SMI_INCLUDE_IMPL_AMD_SMI_LIB_LOADER_H_
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_AMD_SMI_PROCESSOR_H_
|
#ifndef AMD_SMI_INCLUDE_AMD_SMI_PROCESSOR_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_AMD_SMI_SOCKET_H_
|
#ifndef AMD_SMI_INCLUDE_AMD_SMI_SOCKET_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_AMD_SMI_SYSTEM_H_
|
#ifndef AMD_SMI_INCLUDE_AMD_SMI_SYSTEM_H_
|
||||||
|
|||||||
@@ -1,22 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* the Software without restriction, including without limitation the rights to
|
* in the Software without restriction, including without limitation the rights
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AMD_SMI_INCLUDE_AMD_SMI_UTILS_H_
|
#ifndef AMD_SMI_INCLUDE_AMD_SMI_UTILS_H_
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||||
|
|||||||
@@ -1,24 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2023 Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* to deal in the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __FDINFO__
|
#ifndef __FDINFO__
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
# Library Version is the tool/amdsmi_interface version
|
# Library Version is the tool/amdsmi_interface version
|
||||||
from ._version import __version__
|
from ._version import __version__
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
from enum import IntEnum
|
from enum import IntEnum
|
||||||
from . import amdsmi_wrapper
|
from . import amdsmi_wrapper
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -17,7 +16,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import ctypes
|
import ctypes
|
||||||
import re
|
import re
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
|
# Copyright (C) Advanced Micro Devices. All rights reserved.
|
||||||
#
|
|
||||||
# Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
# Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
# this software and associated documentation files (the "Software"), to deal in
|
# this software and associated documentation files (the "Software"), to deal in
|
||||||
@@ -18,7 +16,6 @@
|
|||||||
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
#
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,23 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2014 Advanced Micro Devices, Inc.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* copy of this software and associated documentation files (the "Software"),
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* to deal in the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* all copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* OTHER DEALINGS IN THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_KFD_IOCTL_H_
|
#ifndef INCLUDE_ROCM_SMI_KFD_IOCTL_H_
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ROCM_SMI_ROCM_SMI_H_
|
#ifndef ROCM_SMI_ROCM_SMI_H_
|
||||||
#define ROCM_SMI_ROCM_SMI_H_
|
#define ROCM_SMI_ROCM_SMI_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ROCM_SMI_ROCM_SMI_BINARY_PARSER_H_
|
#ifndef ROCM_SMI_ROCM_SMI_BINARY_PARSER_H_
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2018-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_COMMON_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COUNTERS_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_COUNTERS_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_COUNTERS_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_COUNTERS_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_DEVICE_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_DEVICE_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_DEVICE_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_DEVICE_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_EXCEPTION_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_EXCEPTION_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef ROCM_SMI_ROCM_SMI_GPU_METRICS_H_
|
#ifndef ROCM_SMI_ROCM_SMI_GPU_METRICS_H_
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_IO_LINK_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_IO_LINK_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_IO_LINK_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_IO_LINK_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_KFD_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_KFD_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_KFD_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_KFD_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,26 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* Detail Description:
|
* Detail Description:
|
||||||
* Implemented complete logging mechanism, supporting multiple logging type
|
* Implemented complete logging mechanism, supporting multiple logging type
|
||||||
* like as file based logging, console base logging etc. It also supported
|
* like as file based logging, console base logging etc. It also supported
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_MAIN_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_MAIN_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_MAIN_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_MAIN_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_MONITOR_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_MONITOR_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_MONITOR_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_MONITOR_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_POWER_MON_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_POWER_MON_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_POWER_MON_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_POWER_MON_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_PROPERTIES_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_PROPERTIES_H_
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2018-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_UTILS_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI_UTILS_H_
|
||||||
#define INCLUDE_ROCM_SMI_ROCM_SMI_UTILS_H_
|
#define INCLUDE_ROCM_SMI_ROCM_SMI_UTILS_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
@@ -2998,7 +2977,7 @@ rsmi_dev_pci_bandwidth_get(uint32_t dv_ind, rsmi_pcie_bandwidth_t *b) {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Hardcode based on PCIe specification: https://en.wikipedia.org/wiki/PCI_Express
|
// Hardcode based on PCIe specification: Search PCI_Express on wikipedia
|
||||||
const uint32_t link_width[] = {1, 2, 4, 8, 12, 16};
|
const uint32_t link_width[] = {1, 2, 4, 8, 12, 16};
|
||||||
const uint32_t link_speed[] = {25, 50, 80, 160}; // 0.1 Ghz
|
const uint32_t link_speed[] = {25, 50, 80, 160}; // 0.1 Ghz
|
||||||
const uint32_t WIDTH_DATA_LENGTH = sizeof(link_width)/sizeof(uint32_t);
|
const uint32_t WIDTH_DATA_LENGTH = sizeof(link_width)/sizeof(uint32_t);
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI64CONFIG_H_
|
#ifndef INCLUDE_ROCM_SMI_ROCM_SMI64CONFIG_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rocm_smi/rocm_smi_binary_parser.h"
|
#include "rocm_smi/rocm_smi_binary_parser.h"
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <asm/unistd.h>
|
#include <asm/unistd.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
@@ -1507,8 +1486,8 @@ rsmi_status_t Device::restartAMDGpuDriver(void) {
|
|||||||
(restartSuccessful = true);
|
(restartSuccessful = true);
|
||||||
|
|
||||||
// if gdm is active -> sudo systemctl stop gdm
|
// if gdm is active -> sudo systemctl stop gdm
|
||||||
// TODO(AMD_SMI_team): are are there other display manager's we need to take into account?
|
// TODO: are are there other display manager's we need to take into account?
|
||||||
// see https://help.gnome.org/admin/gdm/stable/overview.html.en_GB
|
// Search GNOME_Display_Manager on wikipedia
|
||||||
if (success && (out == "active")) {
|
if (success && (out == "active")) {
|
||||||
wasGdmServiceActive = true;
|
wasGdmServiceActive = true;
|
||||||
std::tie(success, out) = executeCommand("systemctl stop gdm&", false);
|
std::tie(success, out) = executeCommand("systemctl stop gdm&", false);
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rocm_smi/rocm_smi_gpu_metrics.h"
|
#include "rocm_smi/rocm_smi_gpu_metrics.h"
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|||||||
@@ -1,44 +1,26 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* Detail Description:
|
* Detail Description:
|
||||||
* Implemented complete logging mechanism, supporting multiple logging type
|
* Implemented complete logging mechanism, supporting multiple logging type
|
||||||
* like as file based logging, console base logging etc. It also supported
|
* like as file based logging, console base logging etc. It also supported
|
||||||
|
|||||||
@@ -1,43 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* The University of Illinois/NCSA
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2018-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE 1 // REQUIRED: to utilize some GNU features/functions, see
|
#define _GNU_SOURCE 1 // REQUIRED: to utilize some GNU features/functions, see
|
||||||
// _GNU_SOURCE functions which check
|
// _GNU_SOURCE functions which check
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <sys/utsname.h>
|
#include <sys/utsname.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amd_smi/impl/amd_smi_gpu_device.h"
|
#include "amd_smi/impl/amd_smi_gpu_device.h"
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "amd_smi/impl/amd_smi_lib_loader.h"
|
#include "amd_smi/impl/amd_smi_lib_loader.h"
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include "amd_smi/impl/amd_smi_system.h"
|
#include "amd_smi/impl/amd_smi_system.h"
|
||||||
|
|||||||
@@ -1,21 +1,23 @@
|
|||||||
/* * Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
/*
|
||||||
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* the Software without restriction, including without limitation the rights to
|
* in the Software without restriction, including without limitation the rights
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Advanced Micro Devices, Inc. All rights reserved.
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|||||||
@@ -1,21 +1,23 @@
|
|||||||
/* * Copyright (C) 2024 Advanced Micro Devices. All rights reserved.
|
/*
|
||||||
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* this software and associated documentation files (the "Software"), to deal in
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* the Software without restriction, including without limitation the rights to
|
* in the Software without restriction, including without limitation the rights
|
||||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice shall be included in all
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* copies or substantial portions of the Software.
|
* all copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
* THE SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INCLUDE_AMD_SMI_AMD_SMICONFIG_H_
|
#ifndef INCLUDE_AMD_SMI_AMD_SMICONFIG_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2017-2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "rocm_smi/rocm_smi_properties.h"
|
#include "rocm_smi/rocm_smi_properties.h"
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_API_SUPPORT_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_API_SUPPORT_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_API_SUPPORT_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_API_SUPPORT_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,45 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_ERR_CNT_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_ERR_CNT_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_ERR_CNT_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_ERR_CNT_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_EVT_NOTIF_READ_WRITE_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_EVT_NOTIF_READ_WRITE_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_EVT_NOTIF_READ_WRITE_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_EVT_NOTIF_READ_WRITE_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_H_
|
#ifndef TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_H_
|
||||||
#define TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_H_
|
#define TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_WRITE_H_
|
#ifndef TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_WRITE_H_
|
||||||
#define TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_WRITE_H_
|
#define TESTS_AMDSMI_TEST_FUNCTIONAL_FAN_READ_WRITE_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_WRITE_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_WRITE_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_WRITE_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_FREQUENCIES_READ_WRITE_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_BUSY_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_BUSY_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_BUSY_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_BUSY_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_METRICS_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_METRICS_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_METRICS_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_GPU_METRICS_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_HW_TOPOLOGY_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_HW_TOPOLOGY_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_HW_TOPOLOGY_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_HW_TOPOLOGY_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
@@ -1,47 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_ID_INFO_READ_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_ID_INFO_READ_H_
|
||||||
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_ID_INFO_READ_H_
|
#define TESTS_AMD_SMI_TEST_FUNCTIONAL_ID_INFO_READ_H_
|
||||||
|
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|||||||
@@ -1,46 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* ROC Runtime Conformance Release License
|
|
||||||
* =============================================================================
|
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_INIT_SHUTDOWN_REFCOUNT_H_
|
#ifndef TESTS_AMD_SMI_TEST_FUNCTIONAL_INIT_SHUTDOWN_REFCOUNT_H_
|
||||||
|
|||||||
@@ -1,44 +1,23 @@
|
|||||||
/*
|
/*
|
||||||
* =============================================================================
|
* Copyright (c) Advanced Micro Devices, Inc. All rights reserved.
|
||||||
* The University of Illinois/NCSA
|
|
||||||
* Open Source License (NCSA)
|
|
||||||
*
|
|
||||||
* Copyright (c) 2024, Advanced Micro Devices, Inc.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Developed by:
|
|
||||||
*
|
|
||||||
* AMD Research and AMD ROC Software Development
|
|
||||||
*
|
|
||||||
* Advanced Micro Devices, Inc.
|
|
||||||
*
|
|
||||||
* www.amd.com
|
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* deal with the Software without restriction, including without limitation
|
* in the Software without restriction, including without limitation the rights
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* - Redistributions of source code must retain the above copyright notice,
|
* The above copyright notice and this permission notice shall be included in
|
||||||
* this list of conditions and the following disclaimers.
|
* all copies or substantial portions of the Software.
|
||||||
* - Redistributions in binary form must reproduce the above copyright
|
|
||||||
* notice, this list of conditions and the following disclaimers in
|
|
||||||
* the documentation and/or other materials provided with the distribution.
|
|
||||||
* - Neither the names of <Name of Development Group, Name of Institution>,
|
|
||||||
* nor the names of its contributors may be used to endorse or promote
|
|
||||||
* products derived from this Software without specific prior written
|
|
||||||
* permission.
|
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
* THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
* DEALINGS WITH THE SOFTWARE.
|
* THE SOFTWARE.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user