here's the new rpm line:

for rpm in rpms/*; do git rm -rf usr; rm -rf usr; rpm2cpio $rpm | cpio
-idv && mv usr/local/cuda-* usr/local/cuda && git add usr && git
commit -m "$rpm" || break; done

and here's me trying it out (after fixing the filename to pass beyond
a symlink which git ignored) :D
$ git log --patch usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp
commit 00a120790709d2864bc2f4be48a565cd003f2dba
Author: John Doe <[email protected]>
Date:   Sun Aug 18 20:07:15 2024 -0400

    rpms/cuda-cudart-devel-12-5-12.5.39-1.x86_64.rpm

diff --git a/usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp
b/usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp
index 3168845..a62bb14 100644
--- a/usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp
+++ b/usr/local/cuda/targets/x86_64-linux/include/cuda_fp16.hpp
@@ -1,5 +1,5 @@
 /*
-* Copyright 1993-2023 NVIDIA Corporation.  All rights reserved.
+* Copyright 1993-2024 NVIDIA Corporation.  All rights reserved.
 *
 * NOTICE TO LICENSEE:
 *
@@ -62,12 +62,6 @@
 #endif
 #endif

-/* Macros to allow half & half2 to be used by inline assembly */
-#define __HALF_TO_US(var) *(reinterpret_cast<unsigned short *>(&(var)))
-#define __HALF_TO_CUS(var) *(reinterpret_cast<const unsigned short *>(&(var)))
-#define __HALF2_TO_UI(var) *(reinterpret_cast<unsigned int *>(&(var)))
-#define __HALF2_TO_CUI(var) *(reinterpret_cast<const unsigned int *>(&(var)))
-
 /* Macros for half & half2 binary arithmetic */
 #define __BINARY_OP_HALF_MACRO(name) /* do */ {\
    __half val; \
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many
  • Re: [spam] N... Undescribed Horrific Abuse, One Victim & Survivor of Many

Reply via email to