sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
5e0b4766d3cf820131e9a7bbd50d72eb56013c57cdff6f4ddc6cab075490f4a5
C/C++
81,056
2,487
/*************************************************************************************************** * 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...
db07b2119c18200344da70b57b4339a9939238c21410fedb3fc2ce196ac9a5d6
C/C++
84,971
1,968
/* * ----------------------------------------------------------------- * $Revision: 1.23 $ * $Date: 2010/12/01 22:13:10 $ * ----------------------------------------------------------------- * Programmer(s): Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 20...
0cfc6d0e44cdfa5e0f0a63f5c34a45211e1966d283c63d3848160c8161d61a03
C/C++
85,896
1,841
// Copyright (C) 2014-2015 by Anders Steen Christensen, Anders S Larsen, Lars Andersen Bratholm // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either versi...
aa608667c3895353c208fd337e3927735daacd89745304fadb7a6c301962935a
C/C++
86,741
2,278
/** \file k4a.h * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. * Kinect For Azure SDK. */ #ifndef K4A_H #define K4A_H #ifdef __cplusplus #include <cinttypes> #else #include <inttypes.h> #endif #include <k4a/k4aversion.h> #include <k4a/k4atypes.h> #include <k4a/k4a_ex...
a37c9ee67eb1048fa7f17a9ad5fc56e27394faa25fbbb0d86d38a7914f61e62d
C/C++
87,200
1,878
// opls_non_bonded.h --- OPLS non-bonded interaction (gbsa + vdw + charge) energy term // Copyright (C) 2009-2011 Kristoffer Enøe Johansson, Sandro Bottaro, Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General ...
e8bcefd4a281ec2924f2e5ffc04e5c372ecd76551bd432165fd219d2425c9d98
C/C++
94,948
2,544
// ______ _____ ______ _________ // ______________ ___ /_ ___(_)_______ ___ /_ ______ ______ ______ / // __ ___/_ __ \__ __ \__ / __ __ \ __ __ \_ __ \_ __ \_ __ / // _ / / /_/ /_ /_/ /_ / _ / / / _ / / // /_/ // /_/ // /_/ /...
613bf2e2d703c24c1cd68f73c899777a7aa446655963b5af74b7588c052cd384
C/C++
96,265
2,194
// enghHuberConstants.h --- Bond length and bond angle constants from Engh, Huber, 1991 // Copyright (C) 2006-2008 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free...
955b9cf7cdec5c884fbdf2df75493caa986666a9a337039fa1826a2c5c4b661d
C/C++
97,306
1,408
// default_parameters_torus_cs_dbn.h --- Default parameters for the TorusCsDbn model // Copyright (C) 2008-2010 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free So...
cb633d1208b22df44024f024f6d755d23006dc1e3bfb5a46cbe77ca9f18fbb32
C/C++
100,809
2,099
/* * ----------------------------------------------------------------- * $Revision: 1.26 $ * $Date: 2010/12/01 22:15:15 $ * ----------------------------------------------------------------- * Programmer(s): Radu Serban @ LLNL * ----------------------------------------------------------------- * Copyright (c) 20...
b7f751e688f3afb4f740ee3c4ca765d1fe643cefa69809a18cdcea1fed90b5c9
C/C++
102,703
3,100
/*************************************************************************************************** * 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...
ad8f99217e61f488ffb3f07aaae9d4e32975f5da4c681d4a4ff9803ad9c614e5
C/C++
105,574
2,904
/*************************************************************************************************** * 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...
e8b644317a4ae973f38c6b9d0f8fe5a510ece4d5d420ae390e0fb030f0535a95
C/C++
106,033
2,428
// constrain_distances.h --- allows to define different distance constrains // // Copyright (C) 2011 Tim Harder, Martin Paluszewski, Thomas Hamelryck, Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Publi...
543c2ce1ede836bdc95868b413e85eebce5ce8eb8f7d1b92d0f9471ba47ac359
C/C++
121,084
2,094
// opls_parameters.h --- Default parameters for OPLS energy class // Copyright (C) 2009-2011 Kristoffer Enøe Johansson, Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the...
c55ed809e2d78780b2084a7c148265568d2c8076ff0a00d3dc3d0591c59dbcf7
C/C++
126,938
3,133
// backbone_dbn.h --- probabilistic model for the protein backbone // Copyright (C) 2006-2010 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation,...
672dcdbf4afd35bdd9b07c47818731bc78b6c73f4d17095604a241e0961f02dd
C/C++
130,799
3,175
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
893f3627e54db36112d5e67913440b1115a1ebc311eef8bac5a56f6143b03046
C/C++
137,636
3,265
// chain_tree.h --- Data structure to efficiently detect pairwise interactions // Based on: Lotan, Schwarzer, Halperin, Latombe, // Journal of Computational Biology, 2004 // Copyright (C) 2008 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: ...
d93aaa32c8df1eff2cf162ccc9946f039847cd6ad103e6a3157825b8a744b811
C/C++
139,940
3,976
/*************************************************************************************************** * 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...
ba53f4d4e9cbb15f4824d52dc14e11ce3b5a00c00809725368accba9b09de1fa
C/C++
150,154
3,011
// phaistos_option_definitions.h --- Definitions of options for front-end programs // Copyright (C) 2008-2011 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Soft...
90510953da5bc447359294d02440f3260eed605f1ea30045e8945818534860ca
C/C++
166,411
3,732
// pair_iterator_chaintree.h --- Iterators over pairs using chain tree // Copyright (C) 2006-2010 Wouter Boomsma // // This file is part of Phaistos // // Phaistos is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundat...
fc1631a1a1bc17f42dce4d80fb7a0a0759f41e0aebce69204410c7526cb5910d
C/C++
176,464
3,378
// Copyright (C) 2014-2015 by Anders S. Christensen, Anders S. Larsen, Lars A. Bratholm // // This file is part of PHAISTOS // // PHAISTOS free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the...
1d7ddd546c2cdd40d03d712a379629a8c40670aa098c663cf62974756f516568
C/C++
200,000
5,191
/*************************************************************************** ** ** ** QCustomPlot, an easy to use, modern plotting widget for Qt ** ** Copyright (C) 2011-2017 Emanuel Eichhammer ** ** ...
570940e1cca95d6e51e8e242b9db8665a82dc3ccd79b5530fdbcb4df7297f8d8
C/C++
200,000
6,716
// ArduinoJson - arduinojson.org // Copyright Benoit Blanchon 2014-2021 // MIT License #pragma once #ifdef __cplusplus #if __cplusplus >= 201103L #define ARDUINOJSON_HAS_LONG_LONG 1 #define ARDUINOJSON_HAS_NULLPTR 1 #define ARDUINOJSON_HAS_RVALUE_REFERENCES 1 #else #define ARDUINOJSON_HAS_LONG_LONG 0 #define ARDUINO...
f60d1cdd19654ea4efa854a70291c26bbf34505c786e794da79874bce2074194
C/C++
200,000
7,824
/*************************************************************************************************** * 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...
fc95d5b6023db13d05c38fd635694a0f57606ab9fc12d97b25ad47cad4b4695c
C/C++
200,000
5,401
/* stb_image - v2.27 - public domain image loader - http://nothings.org/stb no warranty implied; use at your own risk Do this: #define STB_IMAGE_IMPLEMENTATION before you include this file in *one* C or C++ file to create the implementation. // i.e. it should lo...
d6ac60108f5f002ca31061d056ceed7826271cd7642be0742589a5069cc753ba
C/C++
200,001
705
// git_parameters.h --- Default parameters for the Gauss Integrals Tuned (GIT) library code // Original C-code by Peter Roegen, Copyright (C) 2011 // Please cite: // P. R{\o}gen, Evaluating protein structure descriptors and tuning Gauss integral // based descriptors: Jou...
c4c622d1bc2a4288bcaf9d1e8d1c30d6c320108ea0019aceb16f5a7e86f19ebd
C/C++
200,002
6,467
/***************************************************************************** * ___ _ _ ___ ___ * | _|| | | | | _ \ _ \ CLIPP - command line interfaces for modern C++ * | |_ | |_ | | | _/ _/ version 1.2.3 * |___||___||_| |_| |_| https://github.com/muellan/clipp * * Licensed under the MIT Licen...
02597ed1d27173bebc0d2f3cb93f4b50feb0bc61e3ca2465683d596b7b85a9c7
CUDA
1,685
64
/** * Copyright (c) 2016-present, Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
2671ba6c973fa8f2eb7eb2397862c1c3d666b2e2d3fce443e161d415ec906c91
CUDA
1,894
36
/* * 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 ...
1076a4a8a10525b46fd86f61aa9a29f117aada6f4885ca002ce332c846aaed0f
CUDA
2,019
43
/*************************************************************************************************** * 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...
9e2db6c4d7e0b087938c920de8aa56061716c8854a80db33ea54959a129f55ea
CUDA
2,503
55
/*************************************************************************************************** * 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...
e8b3822039c0ffc70d3278be00752afc225c23ae82b61c95080ab7088a46dfd8
CUDA
2,555
68
/* * 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 ...
dfc1ef733f281fa57a5df5f0cff70287728baba0a908110b3e8f96fae6b39cdc
CUDA
2,774
125
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "cuda_util.h" #include "float_prec_common.h" #include "float_prec_common_gpu.h" #include "float_prec_op.h" #include <ATen/cuda/CUDAContext.h> #include <ATen/cuda/Exce...
e1ad89552ce269d200d842bc7d7f970821da0690282a91c2ac788d93ab7d75bf
CUDA
2,853
63
#include <stddef.h> #include <stdint.h> #include "stewart_aslanidi_noble_2009.h" __global__ void kernel_set_model_inital_conditions(real *sv, int num_volumes, size_t pitch, bool use_adpt_dt, real min_dt) { int threadID = blockDim.x * blockIdx.x + threadIdx.x; if (threadID < num_volumes) { *((real * ...
3b57d4495addd00a5d0cbd75efdf8b5b0d53e34d54aa26348cfd1a59122c78bc
CUDA
2,868
63
/*************************************************************************************************** * 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...
d8347098496aeaa2a3acdb95685ba7b1a3cea6c945ef121ab8ea2c2b77f4b9f3
CUDA
2,868
57
/*************************************************************************************************** * 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...
e2d2ff4d531eba5a8e0bf0194347c7dd53e76e25f7d4d12bf4cc938ef3513e73
CUDA
3,056
57
/*************************************************************************************************** * 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...
8e25e39ac35adfdfc2bcbd5851e8bdb8426b98d0d3c2e5e8180342ea96b7544a
CUDA
3,136
131
/** * (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...
b90dd0039990c7a996955f2cee68a43d4ec7ac14430b5f75965d08d1b5309a2a
CUDA
3,144
81
/*************************************************************************************************** * 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...
e9c1cd233f47f4ebc1fa67b27777d61a69fa2616b4e945b0394351bb11090623
CUDA
3,158
94
/*************************************************************************************************** * 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...
d11ae970d7b148fae9b606ff5b45c10d64f650a748a95e359eea8b07b5e50c95
CUDA
3,290
72
/* * 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 ...
090039623a9fbc0fabf4f7ff82f72c388403a7eba757c41c55acb2041cd94c78
CUDA
3,509
82
/*************************************************************************************************** * 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...
a8cee76f007dd5a7a6d798d085b843570ac1b70e6821be664e3392c43d167553
CUDA
3,529
73
/*************************************************************************************************** * 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...
032ec61c39a53d78713d0fb5c9a15d6bf9f0593d92e31e5c7fa7cbd6bc81d916
CUDA
3,564
82
/*************************************************************************************************** * 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...
aa7f2c86eb229a1ffea58456f5def28fb2aed32e272c3ba3fe4e3eb74d9c304c
CUDA
3,564
82
/*************************************************************************************************** * 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...
836ea0269ddccd31061a3371b0752a7e97d03e17993ab727f029e0de87ddea8f
CUDA
3,575
82
/*************************************************************************************************** * 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...
4a3e6e6af90a15972f67f7d88ec30fee61f97a0eb272b156088049920953b407
CUDA
3,577
83
/*************************************************************************************************** * 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...
7761be17d60bb788eccf7173b4d77660df5820219907bafb92abb78dcfa55422
CUDA
3,587
82
/*************************************************************************************************** * 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...
bdfea44e0d7c2fd5eb0f5a77d8e8bce1020356d190792727019698faec8062bb
CUDA
3,589
87
/** * (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_hidden_device.h" #include <memory> namespace RPU { #define UPDATE_ONCE ...
4ad32cc2d40438d8215fc9b2cf876b58b081efb968d2a6101d7c764131027e84
CUDA
3,591
84
/*************************************************************************************************** * 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...
0923e6968f70d32b0aacc3d5c76106bd3b5ea8de9e981d312018429f0bc968de
CUDA
3,614
94
/* * 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 ...
2c5061ba7ef0f8282b95b592e73e243013ec57345b7bc575d676be99d7ae590b
CUDA
3,625
87
/*************************************************************************************************** * 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...
6072a2f4495389fdfa78cf9b1960de0d346ca37c0fb13563ac1f4514790c343f
CUDA
3,647
78
/*************************************************************************************************** * 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...
f35fcc9aec657fb65ca950fa6dc8da5df0836c2d4048f2d19fc708f166e0cb8c
CUDA
3,654
78
/*************************************************************************************************** * 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...
1d74cc98e30f231c0ac83c4670be9c86a96629879274e246eb3ab887f1b66a0c
CUDA
3,677
75
/*************************************************************************************************** * 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...
0101b10d4d7a92715e687cf6bbcf01bb847b2da01e99fa7bc80857b524c1ba4b
CUDA
3,680
81
/*************************************************************************************************** * 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...
6e90aef56ddb9b095f400c049337a43c2792746d1ba3caaa04c8215a74373488
CUDA
3,770
80
/*************************************************************************************************** * 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...
7a3e7b39445a38423ae999427a0234a6acae64d2d010ecbf10c694de00dee803
CUDA
3,776
81
/*************************************************************************************************** * 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...
e3aa4c3f1835779ee8d2932d903499eec912e488d8fd52a504a19fcc0189fd49
CUDA
3,813
81
/*************************************************************************************************** * 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...
301920497835f307c546a0e5d5aebec176dac36b9c2b965b4553a04adcfcf91c
CUDA
3,847
83
/* * 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 ...
90ef013c2c651ef9411cb7682111aab43e7874d754471442327bd6913ca9fd53
CUDA
3,951
93
/** * (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...
6f40072360958c2ae1d70756fcd988272e5c74cbab0fc59daea29e7bb04ae7be
CUDA
4,007
150
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "cuda_buffer.h" #include "cuda_util.h" namespace RPU { #if defined(RPU_TORCH_CUDA_BUFFERS) template <typename T> void CudaBuffer<T>::print(size_t size) const { a...
5634b727df62993cfa7f88f2fc1ac24b2eae4da721bf1eca499fb93b6dfdf37c
CUDA
4,026
88
/*************************************************************************************************** * 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...
2b082b0a44273a6bd1cb51016940d8bac127d03360c9d8dac715fe7d87a5b745
CUDA
4,033
75
/* * 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 ...
d2e90310664ff0233cae09782a4154c0b22833990a145ef95632c92767e1148b
CUDA
4,054
129
/** * (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_powstep_reference_device.h" #include <memory> namespace RPU { template <typename T...
c1e1f75eb47a9fe255a207fd53f15f2c38d0e7bf2f1a5aa88118566d5d8fe352
CUDA
4,065
140
/** * (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 "io_iterator.h" #include "rpu_cub.h" #include "weight_clipper_cuda.h" namespace RPU { template <typename T> ...
e8c397a060f84d89c348298699b75ebe17bb79ae954047343534bdfdc07b1613
CUDA
4,092
122
/** * (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_powstep_device.h" #include <memory> namespace RPU { template <typename T> struct U...
f44144856bafb860866f0e82b786dbe1f5f92e9c5a1ea267b4925b171df34185
CUDA
4,140
90
/*************************************************************************************************** * 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...
db3f12ba3094a41957533e41b9adbfab149403f952dc00c321d6cc6f0fcf8709
CUDA
4,252
125
/** * (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_constantstep_device.h" namespace RPU { template <typename T> struct UpdateFunctorC...
328ea4ae25c4b26cdc853c12745d8852a175ddf82fa1c483710d76d038ee67f4
CUDA
4,332
154
/** * (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...
ce4add2d466cce533c4a6120ddbb2dbeddfff05f16726027389b97e7072000df
CUDA
4,407
133
/** * (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...
79bfe8b572b85e689678fe28831afdbfc9f68512243dabbd30aa6f1986737368
CUDA
4,423
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...
57f58ea52da80f11586b265ad7994a40d2164f3a0bee6fd002dfb6173061751e
CUDA
4,426
146
/** * (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...
ff46ac547a0724ef6cb2efc915c1688374c931eab6adf9e6d9ad0c558c02d493
CUDA
4,454
128
/** * (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...
c640515a6dcd9b15b5e75f71f60a566c2d0c00d4e8c24ebc7ff505ba7be33e69
CUDA
4,457
105
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "cuda_util.h" #include "float_prec_common.h" #include "float_prec_common_gpu.h" #include "float_prec_op.h" #include <ATen/cuda/CUDAContext.h> #include <ATen/cuda/Exce...
ec346f33308da05027acb1916ddf78959b90959820c67de1721fcef0c56ecee9
CUDA
4,560
141
/*************************************************************************************************** * 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...
4d3054f8a34b0f95aaa50ea0fdfe3200f006a6fca556ba29484e4ec35f80e651
CUDA
4,561
122
/** * (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...
9d740a704079829b538d56d6ae9bcf5490ff143466080a9f7401bde760365db5
CUDA
4,610
112
/*************************************************************************************************** * 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...
bac77205d39ec0079d66fb354c9c691020562a4696d00b44c9ef1be9fa573243
CUDA
4,690
108
/*************************************************************************************************** * 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...
c94095cdff4e9e9bdb179d2c28f9bc15d9adcd903f737617ee85f49ca5a05e4d
CUDA
4,690
107
/*************************************************************************************************** * 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...
d64440445dc6b910a4adbc7c2458384273f3059bb9e4e6803bad674a77dbc21c
CUDA
4,791
111
/*************************************************************************************************** * 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...
83a425418f3f5d2e7b4ccb73968d7b56282485dc3fc5edcca70c3883176983fb
CUDA
4,819
111
/** * (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...
75c593f08666586ddbd1bde6ccf626bfc08a803f685fe9a77646a0db29cc5f59
CUDA
4,965
138
/*************************************************************************************************** * 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...
127bff02889585d01fe07933cd4694a1a4f15b1b666d8ee42880e08e09f428e6
CUDA
4,970
169
/*************************************************************************************************** * 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...
a3d2adffde7dc10a52ad66124f5f0b13e60120e7d740cafb6685eb6c4200f8b1
CUDA
5,008
134
/*************************************************************************************************** * 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...
c583e64988485ed29c1d3b7fbaf99928c7af8bdf56415cb4aa115f92b7334fb1
CUDA
5,039
140
/*************************************************************************************************** * 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...
3d02f92b4eedffeb5b2c2221e23f8ea50c94bf45745c699286d18d508d34f67b
CUDA
5,171
128
/*************************************************************************************************** * 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...
b3c840018e44cd21ba55c0f5e6912471173ec116b3878e381b11143448f8274d
CUDA
5,182
119
/*************************************************************************************************** * 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...
caa6cbb8e6c3ad25ebc6026b0d03d2122d6a3db23a47d58f5b18903769029a3b
CUDA
5,209
120
/*************************************************************************************************** * 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...
5e83be0895e1e04f3efbd255b98251028559e0cc35b69cc97b83cfe3ec1c0c47
CUDA
5,226
119
/*************************************************************************************************** * 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...
126a58fa5625e6109dc9e9ae53a6a56606fd9f3628269340ec715a1b058b0b32
CUDA
5,242
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...
9bb061efc68390d288ef8e5805626c106a959639daef19cbd07c25e518c5661e
CUDA
5,242
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...
0efe1180ac4217a7c95ffee8fa52c4abb1072f44cd4218e22c8f05922433cc83
CUDA
5,260
127
/*************************************************************************************************** * 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...
dee0a863459900a83ab1ba2164437fa15a93bcda69807118d48fe98f5639656e
CUDA
5,266
120
/*************************************************************************************************** * 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...
f915b3e7990bb1a6db1cde6066a8fdeffd149f6fff24d3e88a46bce5f9610f7d
CUDA
5,312
121
/*************************************************************************************************** * 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...
45bae97ab9d176259be6dee0053783ab5ccb86572aa7d2e7f54a8521a3de5767
CUDA
5,313
120
/*************************************************************************************************** * 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...
23e9d8e24d0fac93fc323ce9b7ed6b9ec5911e416939c4652026075c0151948f
CUDA
5,322
170
/*************************************************************************************************** * 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...
7e3906f411f5206d59c131b3ced108ae03ce8f50695b0f0784512540fbc879ae
CUDA
5,330
120
/*************************************************************************************************** * 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...
29685bf05bfdc1b26d92f1db728182dc843b602695ab19d680e3dca37172d28e
CUDA
5,332
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...
2bee8dd6f0241f53b4626d46ed102cea2986cc65fdd74cf6e61649366b52f4c8
CUDA
5,332
121
/*************************************************************************************************** * 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...
1deedc7eddc632c42329759e791604135b9a2b18fa9b921461f28134ef5a0784
CUDA
5,340
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...