-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd21d7e
commit 3a14f5e
Showing
13 changed files
with
234 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "Src/ThirdParty/Amd"] | ||
path = Src/ThirdParty/Amd | ||
url = https://github.com/GPUOpen-LibrariesAndSDKs/ADLX | ||
[submodule "Src/com.nthompson.gpu.sdPlugin/libs"] | ||
path = Src/com.nthompson.gpu.sdPlugin/libs | ||
url = https://github.com/elgatosf/streamdeck-javascript-sdk.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
// | ||
// Created by Noah Thompson on 8/7/2024. | ||
// | ||
|
||
#pragma once | ||
#include <string> | ||
#include <nlohmann/json.hpp> | ||
|
||
|
||
namespace nthompson { | ||
|
||
enum class GpuVendor : int32_t { | ||
Nvidia, | ||
Amd, | ||
Unknown | ||
}; | ||
|
||
struct Gpu { | ||
GpuVendor vendor; | ||
std::string name; | ||
uint32_t index; | ||
}; | ||
|
||
NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Gpu, vendor, name, index); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>GPU</title> | ||
<meta charset="utf-8" /> | ||
<meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover"> | ||
<meta name=apple-mobile-web-app-capable content=yes> | ||
<meta name=apple-mobile-web-app-status-bar-style content=black> | ||
<link rel="stylesheet" href="./libs/css/sdpi.css"> | ||
</head> | ||
<body> | ||
<div class="sdpi-wrapper"> | ||
<div class="sdpi-item" id="select_single"> | ||
<div class="sdpi-item-label">Select GPU</div> | ||
<select class="sdpi-item-value select" id="gpuSelect"> | ||
</select> | ||
</div> | ||
<div> | ||
<script src="./libs/js/constants.js"></script> | ||
<script src="./libs/js/events.js"></script> | ||
<script src="./libs/js/api.js"></script> | ||
<script src="./libs/js/property-inspector.js"></script> | ||
<script src="./libs/js/dynamic-styles.js"></script> | ||
<script src="js/index.js"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.