Skip to content

Instantly share code, notes, and snippets.

@leuc
leuc / amdgpu_metrics.py
Last active July 16, 2024 18:28
Decode AMD GPU Metrics from SysFS
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-3.0-or-later
#
# amdgpu_metrics.py decode amdgpu metrics from sysfs
# Copyright (C) 2021 leuc
#
# This program is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
@leuc
leuc / umap.avx2.patch
Created January 27, 2023 07:33
test igraph umap layout with avx2
src/layout/umap.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/src/layout/umap.c b/src/layout/umap.c
index d1f334313..a9e40d7d7 100644
--- a/src/layout/umap.c
+++ b/src/layout/umap.c
@@ -28,6 +28,7 @@
#include "layout/layout_internal.h"