sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
f8399d577786cdddf54e67e001e19ae7bbbafe914a73668114df1ac4afcd079d
CUDA
5,353
132
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
93a796a55c790ad30fac88c3b00f6f332e5037df0a9e188afa1ddf4f2678a464
CUDA
5,369
124
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
e5fb5ea35e321e4251e83f99add1e1ef821e3c7c6b7412527608ca0b44a18504
CUDA
5,386
124
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2a32ab0ddd685b196c6148443e04dedc76d83cd80cd9c98f9b3488457a27f138
CUDA
5,423
122
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
dd78fcda1254d100e9b3643c17b6c67f85c82b203d364109e2c4f864ad27daa8
CUDA
5,430
131
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
7664a3aa9474cd79f04a868fb870f856b9a93cfb098270d6e85395adbd9692e9
CUDA
5,442
131
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9c0e74dae44104a908ee9fcd2e903d63eb1dfb3411ea012f228b8f6a3c412d09
CUDA
5,443
145
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
760dc3e438c21221fd08665c5e4b8c5357b82b7af40a76e7d5130dac0153d229
CUDA
5,444
132
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
659d3e7f3f41f5426a4cfedaa62e0f5c172e1a7a333e984084d70454bc8a29ac
CUDA
5,448
199
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
1837af010ab7570221aa679108cc52958f73aacb0fff5b71f04793c44ce2d371
CUDA
5,456
124
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
83d1b97129df8456e26386d8ee763b46f1054ba9fa510eb205f4f6263c8f8e4f
CUDA
5,483
147
#include <ATen/ATen.h> #include <ATen/cuda/CUDAContext.h> #include <THC/THC.h> #include <THC/THCAtomics.cuh> #include <THC/THCDeviceUtils.cuh> // TODO make it in a common file #define CUDA_1D_KERNEL_LOOP(i, n) \ for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < n; \ i += bloc...
57395ccee8c125ffa8476f01396c4bdf9e5e54e2dba2436cfa7795677127660b
CUDA
5,532
135
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
98ec2e303563d5e2480e38060b09fcb9dcc36abef48263885bd52565ddad67e1
CUDA
5,556
138
/*************************************************************************************************** * Copyright (c) 2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met...
9428ed737d33b56f247425258ca337c6645016971ed45e470924a82ca9e7ae04
CUDA
5,626
142
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list ...
94adfecce0a53ccb68b77138c6b7e4d6c1124bf29c4417856beb01a49c21fd0b
CUDA
5,700
166
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "pwu_kernel_parameter.h" #include "rpu_pulsed_meta_parameter.h" #include "rpucuda_piecewisestep_device.h" #include <memory> namespace RPU { namespace { template <t...
b70ed4ba6f6bd9b1c37aee83fd328bd10b8b7d77dc6a13424d9069a992b7b3c4
CUDA
5,792
145
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
f7d34041a7b1f3de0203e6c925108b9744741ffce0904e7d9991ba28ed25ad7d
CUDA
5,828
136
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
666fa8c5f3aec6fb32b74db259c47cdf5208e41fdaf2052bdbbf5b6850f67e40
CUDA
5,866
145
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
d2f49e6a11799da85781ccfa470959043b0142c67bc791c0d16984f8908d25bd
CUDA
5,878
197
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4b1c5953ce8cc8db8f2d7cf8c8d0da08666b540bac16d4733e51602f823d3992
CUDA
5,893
162
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2617c58e9d2788955eaaa0570b6fe7ee0c7e53f3f25fb7642fa1bf87b9ff9fea
CUDA
5,932
117
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
7ab6798bea75412e6a3a84ff5f25e2ee7eba93849dee98eed07a687f8563654c
CUDA
6,062
172
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
dbd79e32eebfba1440486c8f0fdf5cb868f0e38c1021f2e5692c9dc739525239
CUDA
6,064
147
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
765c895958bfb5cfed27d33f6e7bc0f796236b18228e5486661f8a46aea69b5a
CUDA
6,099
189
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "pwu_kernel_parameter.h" #include "rpu_pulsed_meta_parameter.h" #include "rpucuda_linearstep_device.h" #include <memory> namespace RPU { template <typename T> struc...
afa67f80b84e574b00136e29a52e47f7274384a1755f1f6ba9ab586254aa63c4
CUDA
6,203
153
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
44acafe013940efc9fcf7eaf43dc21bd460a59a2c6766f3dd1eaa2edc75d70d3
CUDA
6,210
149
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
48de664589a175a7b13e544e94dda99ca009bcb820f37f67803e40642d90530b
CUDA
6,210
189
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
55d163124033fe2fc3e75bd97b148ae9a18aadd0e878288b49eeffe059811f39
CUDA
6,219
149
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
8c00ece40742bb567d9c9ba09c4321ae1a99b1980fcd970520a93d1a23cbd5e1
CUDA
6,219
149
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
abeb69112cab0303df539044168ee2b3fe28f9e6c6741adc23dba45436f34e89
CUDA
6,223
150
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ac07825c5a6b9a86f19ec7b2cb4aee2633b4e14ab39bf73438146984136900ed
CUDA
6,226
148
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
26e9d8b6bf162b1abadba8b8ea9708b4313ed88504a177f808563266bb7ae580
CUDA
6,236
152
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0f9c1581eb6ada94703d76fddf7d1c2c07ac257b4501a7e5caacd48b932a83ba
CUDA
6,247
153
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ccea509fe95ef2c9ccdad12c8375bae918e7c5e07e7d3bb46df74c047feed7c0
CUDA
6,252
151
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9301a83f34310139563ec78b99c5175c459ebcdcb60b312f6baf8fc02a4bb8e5
CUDA
6,261
151
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
da3367a864f78e4fb76ff90a43bb7cc3b024e1848a6f1598abbdaf90fa9faaac
CUDA
6,261
151
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4966961c75a12aac3deca5948b818e4eda8b683655583845e8c01c1090d0f265
CUDA
6,270
151
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
a5f70572ae86982a722e0bfdadda894f3336dedf4202a2ba481a39699816aaaf
CUDA
6,419
222
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "pwu_kernel_parameter.h" #include "rpu_pulsed_meta_parameter.h" #include "rpucuda_softbounds_reference_device.h" #include <memory> namespace RPU { template <typenam...
3737597d3efe4b42b50493870d74a9fc4eac59f867673ff00462e24ab45d5f87
CUDA
6,435
191
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
29f1233daf10763b150ac153be7d9135a03dbca07b59760ac3937756e48d9574
CUDA
6,437
192
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
bc888b3a066ccd749ecb567f788b6e1262ebd6c9e2b197d31bbecb80ca96838a
CUDA
6,443
203
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0b0d48cc4e6fea7599c4a6d5ec22d505e808abb65f5ddf56bae697de40a607a3
CUDA
6,507
185
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
7c58287446038b56028a974648040e267a1d3a1742f4154389d133c94b6a2b5b
CUDA
6,544
137
/*----------------------------------------------------------------------------*/ /* CP2K: A general program to perform molecular dynamics simulations */ /* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */ /* ...
0422d8720c2c6b68d91afd7bd5efdda48aa1596b88f9c3191d324563acaae4ff
CUDA
6,605
164
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
5b0282579d9a720562e2fda842be63276369b0602f31268836c209e8fcc7f30e
CUDA
6,661
191
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
7b718570af2d4148cf6d05a289ba999cadc6987c93e41d10700a4bcc18b46e78
CUDA
6,673
159
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
abfc093a2813c64f858507887b1f08c67ded7add8ba5889057411c71d25618c1
CUDA
6,673
159
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
bb8b3f0f9f184d973aa9946609f4d89b1fb66acdd8d98d6145e3d7e97421b5eb
CUDA
6,687
199
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
810c6d991749e7d737e7f49e87fe453d4424d3d2229078c719e2da3e16ad4b0b
CUDA
6,748
221
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
bab467ea1d0a79a31cff6f648f9c9a2c70bb21fe4e2713b51b9523371e57603d
CUDA
6,750
180
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
3b40f61f4c76a9b5a11860bc67322bef903c1a1fa8290547140253e1fdbbba28
CUDA
6,763
193
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
cfec8b50416a16f6f5543aea97fffe8d3562fffc928fe3e4b807a00968b028d3
CUDA
6,767
206
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
be5736c414eaf5a5f8a0d7e5be14f89ff048a82425e6addd9f670894a878b1ff
CUDA
6,789
172
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4533811e3a2ed374730d8fac7f3807fa08a8c17b4de0b42f8a41ff0c76a22b42
CUDA
6,800
171
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
d0f4755775f7197258439469d49621d496a00d79e6815fceed0885a7f9621f46
CUDA
6,833
193
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
81f4da5642f156b066d64951c13a142c1c62c78791dd2678ac8a1a3e1a5b149c
CUDA
6,835
194
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
d8753d2744e6dcb5c4d82566eee1a0f035f0ca60ec9d3dced19421fb2bc7de00
CUDA
6,860
192
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
1e9ed12136b9470d1da5b35861d17a405411d4dad003b1cd034bdcfabcf9d082
CUDA
6,903
194
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
1a3942e02d10408a00e0cb841abd6f6be74eb41355ed63723665d16e9ac77ff7
CUDA
6,918
218
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
85cac7cc51c9cd5d170502b8c6cf32532501c0d3fa744d05ac7f943220103d3c
CUDA
6,923
223
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
53438752fc8fe0ff48a0ce49e40a5fb8757038579d0230c46051d88d976d66cc
CUDA
6,925
188
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
e57786bcc2847ed7adb8025ea67f3be01d560ee2ed2a6126aad84e19a2edc37b
CUDA
6,986
191
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0e15f83ef1f26c90d97c796da1f0f8dda8ae94b3b77a89702e807a42ed3a5643
CUDA
6,987
179
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
c29adbd044d72b55a20f90044ccb6a0b7c0158d453abc194d019ea731fc8e54d
CUDA
6,998
180
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
bdabcbffd8380df19d5d6d355ce8a86c4af8e588ebac257c951d378ebd820fa5
CUDA
7,006
193
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
1ced67475d0f7532a818b6c0669a189a6eb544f2f7b41b080418ebb399c2b492
CUDA
7,124
189
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
c16a2e5ffa2225aed6d9167923dcef9b50ef372f15610a3b5b3c28651b99a84e
CUDA
7,222
208
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are me...
78a101cdcb570ca2658a4ba646a7044eb782dee06a1a569741571417b748e66d
CUDA
7,231
164
/* * Copyright (c) 2020-2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list ...
c0445bdb680873f20d06ec75f5d8bc811c762d003fd53be1f64e0ca5e7b547e5
CUDA
7,242
200
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
a45e5c4836bc00e8b4553503861e70a23ccc906e5b2e59d7c0cf169a45757825
CUDA
7,255
182
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without *modification, are permitted provided that the following conditions are...
d61223bbb01dc5f579ab20e3b9300bf696e98b1e1b267f61e9aa34f95d181b6f
CUDA
7,265
155
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
6defde72f8e7f66290e9bd5e3d3172e5e22e7ee60529db0930f1c9cc56bc8bce
CUDA
7,402
209
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2533ef993607090b4df321750b092a8eac9a710ca7dadf7ba72cc123a358d215
CUDA
7,439
210
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0a16f72acd009548d89e1fc41a49048de5e9cc06750ac1ed7936dfff8680b01f
CUDA
7,488
335
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ba03fc7900bb8e1946596f050e724243989b6316c58d6f8b492050762e0d315b
CUDA
7,510
186
#include "common.h" #include <vector> #include "tiffio.h" #include <iostream> #include <tiny-cuda-nn/common_device.h> uint16 largest(const std::vector<uint16_t> &arr, uint32_t n) { uint32_t i; uint16 max = arr[0]; for (i = 1; i < n; i++) if (arr[i] > max) max = arr[i]; return max; }...
bc01ac7e1783614fb173c09ed9f3c9ed7fbd945ea969dd3898f5cf9a05e408ad
CUDA
7,517
217
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
2825f2a1b8f559955ffb9cf835f3d133f10916524db77d0c20483e1ef1a8d900
CUDA
7,519
212
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
7c820bcfba6ad44f27da5ec36baa881637f7b73fecc30796c7f71f2c954f044e
CUDA
7,574
255
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b23538aa7c04eab75138a1b03f8eeafad0b2e388979739e00e5f80f79c8b9256
CUDA
7,666
238
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
9fb8eea9428d7967e63f73dfa6e67014ab07057731197c06daeeb368375da4a9
CUDA
7,677
179
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
72cbe955c7c35ee4b681c931223ff94f51607e2b5649fc7a05dde68daa43bd4d
CUDA
7,734
189
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
d78e194cb1c8b21dbcd3b5aeb5deb998411e388dd2f6f42ac75569afe61054a8
CUDA
7,872
166
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4dd8aa717e336972d03ed4baf20ac3362a5265cb44e2ac38f763add6b218532b
CUDA
7,890
192
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
ffc704b293174f3569b11e97d368b12b2b3dc331e983e2a254553701225ebcd1
CUDA
7,925
250
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
5a67a552a095d7732a523efe2e298fa30960d5fdd5357b42f6e5e6ae49bdb39d
CUDA
7,977
260
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b1026a072527691edaea154fe2a9fd39be9579a923cdc175ffd18305f012e762
CUDA
8,018
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
4633f04bb5a8e52ec35762b2926ae38b23504e75762c89931c54b24e19ddb7aa
CUDA
8,036
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
b160c8d86fa6f1bad04494be21a95abfeaea1351561742af2f88e2ba4d9972c4
CUDA
8,036
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
59257b77e46b67d268fcbd12c1d5c8d026138e61e9b7474eef4df49d37b8c7b2
CUDA
8,038
255
/** * (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved. * * This code is licensed under the Apache License, Version 2.0. You may * obtain a copy of this license in the LICENSE.txt file in the root directory * of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. * * Any modific...
d6a10a646a595588168a22cc960e41fa2e61a61ea36652b259dc24b0bd2e5342
CUDA
8,038
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
0faecc702d69928bfa7c42174ea608c08dfcd257e34becd56f823a9d7fc2eca2
CUDA
8,054
263
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "cuda_fp16_util.h" #include "cuda_math_util.h" #include "weight_drifter_cuda.h" namespace RPU { template <typename T> __global__ void kernelDriftWeights( int si...
ada32336535e2c7b2c2bb1be545e3f7c59c038b267dd4b30317fb63659553e16
CUDA
8,089
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
70138db3a1360980a1933758d1df6bf19666aa6a76d0d39da20fd8285d94e3f6
CUDA
8,095
246
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
63f7b600cdb98c891e9c31de9086929ae47ac2b2262dd8d1a60f1131860d2750
CUDA
8,154
236
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
86a3dc4d3bc50bc5637be4e061eb38693642d89b1c1c6e81bc42240762c5c5d1
CUDA
8,156
243
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
f3472b07cd556f9ed547eb9bdf164fc31cca3a4132be983ab9edff25dd032bbc
CUDA
8,156
237
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
143b4b2a13d79e29b1e885111e68968ab5cc111c91b610b92a92b76ce2cc26a0
CUDA
8,174
243
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
55e912cfb6f3aa9580d255241cf6927c8094ad7aa2fea597db3dbe90f2252471
CUDA
8,300
243
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
933ad90da0f8197f6d13119def4472b311eca25a565ef2d9cf898d8d0ca905ba
CUDA
8,318
243
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...
dec3e19666298b85f86747e189af24b59e258199248bcd7e2e152ca044aa5cfa
CUDA
8,318
243
/*************************************************************************************************** * Copyright (c) 2017-2021, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are permitted * provided that the following conditions ar...