sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
9894929b28d68de413177c1677d2b1cf3a0cd9fd4c0b481e594108225c95b231 | CUDA | 13,904 | 399 | /***************************************************************************************************
* 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... |
b2f9e981755f86ef4c736e974b7eaea3bb5cb053871c3d0932b1f9c518d78218 | CUDA | 13,935 | 398 | /***************************************************************************************************
* 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... |
3e52dc41d771e246a251b1820cd9b4a4ee4fd5ead8e52c05f10b03b82c6b468b | CUDA | 13,988 | 344 | /***************************************************************************************************
* 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... |
418be71899bc0839bfe8785081e97cc538c36816aca356da7dd236b505c9dba2 | CUDA | 14,016 | 345 | /*
* 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 ... |
1984205118e5ce1a18864f5b53df39ce74a63171db15a0dd9761bbfc0ee0d5a3 | CUDA | 14,304 | 506 | /***************************************************************************************************
* 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... |
b3382b911cbab1199895dd333be4685a3395e9227663c1c1bf12f94fee49d97f | CUDA | 14,412 | 419 | /**
* (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_pulsed_device.h"
#include <memory>
#include "rpucuda_buffered_transfer_device.h"
#i... |
47a2eee24ec27bc5f2ff183e60256b997265e75d1251cee023479c30519c848a | CUDA | 14,583 | 336 | /***************************************************************************************************
* 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... |
a061386cc0706483f62a8f7ff315939417caa09513291e01dc3abe5cc5860d44 | CUDA | 14,709 | 389 | /**
* (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... |
096d74a837bf1b5c9ff3cc2f45f1469c7d13b83ed15cabd9595489a6f278cf96 | CUDA | 14,818 | 367 | /***************************************************************************************************
* 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... |
6c444df0cccd2ad9d862d5119b0fe914fd950fadaa660d7cb5f903b8a3ea96bc | CUDA | 15,108 | 470 | /***************************************************************************************************
* 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... |
b8401388f7449843dd9fd2fce2e63a26b02d93fc96822c246106f80cb7cd147f | CUDA | 15,143 | 491 | /***************************************************************************************************
* 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... |
7f85b7a78dc9038eeb89736a9779045aa3d19e10b75026ff27a525f4961ae766 | CUDA | 15,176 | 461 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "maximizer.h"
#include <chrono>
#include <cmath>
#include <iostream>
#include <limits>
#include <memory>
#include <random>
#include "cuda_math_util.h"
#include "cud... |
4ff86a1f9cc0d10faf0b2c73ec7d8bfdbd939ba9a4dfa7d58da60a727d93e031 | CUDA | 15,313 | 311 | /***************************************************************************************************
* 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... |
d27a7f53bb8a9a46cffae34d175b2139642c71ea9dbe23c254870465e320ddf0 | CUDA | 15,322 | 398 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "chopped_weight_output.h"
#include <chrono>
#include <cmath>
#include <iostream>
#include <memory>
#include <random>
#include "cuda_math_util.h"
#include "cuda_util... |
81da917d76935953f4750700b63c37ecac4af4380d8ea734b0483063cd22bfa3 | CUDA | 15,494 | 470 | /**
* (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... |
eadbd5398adc880d719a3e7a70872f48865d0643fffe5614e3b3c8a1e55cdcd9 | CUDA | 15,572 | 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... |
771e8f87b29af4fe5784f33ff674074eb537845c28c2b6362f746867b4d8f929 | CUDA | 15,757 | 455 | /**
* (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... |
d82c147ba89f7d3a9268b815f1463d3b66f2b215f30fbb641df2322ebd57f3a6 | CUDA | 15,878 | 383 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
97e9dc175db22c31b38da12fa7404adceb64d459e3789c14eea38d59cc463283 | CUDA | 16,051 | 314 | /***************************************************************************************************
* 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... |
530fd016a4addd52433a9508143146208246dc87425690de59b5ac00e9b8989b | CUDA | 16,080 | 517 | /***************************************************************************************************
* 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... |
6b1107d35c9c97543d3dcd55c14baee56e87f3a30f953d24139518e43b59e336 | CUDA | 16,114 | 447 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
6aa025f7d6292eb228855e32832c44d70bec250a8f0f14d204fb1cacfa079634 | CUDA | 16,269 | 546 | /**
* (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 "weight_remapper_cuda.h"
namespace RPU {
template <typename T>
__global__ void kern... |
8780b25821e6999dfd9640499da7f3a7119cc661c1556d7c0cefdfc060b025a6 | CUDA | 16,393 | 338 | /***************************************************************************************************
* 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... |
0870f4fd60da28715c5145491d37b12b1c4b03fc983b6defbf46a75121f31d70 | CUDA | 16,423 | 338 | /***************************************************************************************************
* 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... |
98dd99490b825001527275ca056a55dbee04357a4e9edfd196caeb5ec70a1a7f | CUDA | 16,441 | 338 | /***************************************************************************************************
* 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... |
08e11e235411f821feed3ec9c170af7212194ca5ea9049d480ae0a804f868017 | CUDA | 16,530 | 337 | /***************************************************************************************************
* 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... |
78ee5b32a4f7757b0d2aad92a5c961b54d0bd004d88009736f3edfe2efb33ac4 | CUDA | 16,631 | 552 | /**
* (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... |
63bddb1a55932f8cbf8a41011ee76d29d990c2ce85ac7eb960f82fb65f7a7652 | CUDA | 16,632 | 339 | /***************************************************************************************************
* 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... |
952e5bbe9f9ec087c4dae1d4f6b3fccf11d9e67c547e8c92e274bd395d85a0be | CUDA | 16,649 | 338 | /***************************************************************************************************
* 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... |
f471e82c2cc97a6b227a05d17ce78346c5ead846ef77430bc65b25f859294c59 | CUDA | 16,673 | 411 | /***************************************************************************************************
* 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... |
e0780b7ee6c7716bef4521dad5a44de5d2f0bf2b356db752ac0b5a10be5c8bc5 | CUDA | 16,711 | 340 | /***************************************************************************************************
* 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... |
e1af6923c06440292c9d0aac83ce253229d9c96c4e01132615733ace1c2f6418 | CUDA | 16,750 | 339 | /***************************************************************************************************
* 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... |
7a333b19e4af35d7483310b5e06db46fe83a4181617195156f7680cf9e429041 | CUDA | 16,754 | 353 | /***************************************************************************************************
* 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... |
b6e29de3ae382ed3e340c136b71a78beca3f59b92d51482c6dc8503ecd0c0e8f | CUDA | 16,762 | 338 | /***************************************************************************************************
* 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... |
afc76df4d3dbc8e87a6a05fa29ebaad59f5a787fc4743e12dc686561e3e7a860 | CUDA | 16,768 | 368 | /**************************************************************************************************
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 met:
... |
221e3fbf2cd4e85190d4a58fe363dff1f7040b4b0fa46235478ed4cae0a08b2a | CUDA | 16,786 | 337 | /***************************************************************************************************
* 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... |
768aaef2be2f95f755a5d9fd041ef67f3ddb94402e9abf425ec8d0dd72a9c7e4 | CUDA | 16,802 | 355 | /**************************************************************************************************
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 met:
... |
86612dafa632bfb3ce1fe001f4d964538acdd1b19469d552f16370f5cce34ced | CUDA | 16,815 | 368 | /**************************************************************************************************
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 met:
... |
68c4ea0774303ee69214ee9fd1c064cb82b3776bca77085e460dca160df673e5 | CUDA | 16,906 | 448 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "cuda_math_util.h"
#include <algorithm>
#include <chrono>
#include <cmath>
#include <iostream>
#include <memory>
#include <random>
#include "pwu_kernel.h"
#include ... |
cfed6ccf8e41adc00e482ddd0f953fd9a1d3470d6daffbe207ffa02fda5fa497 | CUDA | 16,962 | 355 | /**************************************************************************************************
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 met:
... |
647221a55c31525dbb57b0ca772eb52710077aae29ed19bdb4ff7f3cad513c57 | CUDA | 16,967 | 492 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "rpu_pulsed_meta_parameter.h"
#include "rpucuda_vector_device.h"
#include <memory>
namespace RPU {
/****************************************************************... |
c09b712ca31671b216807b208e5f0fe66eebe9b12f696cef34c3639c88c1d155 | CUDA | 17,127 | 458 | /***************************************************************************************************
* 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... |
576109b625cd2eb2b28ad090ea2a48b197d8d0bc880763a4a511d21de2d1289c | CUDA | 17,152 | 354 | /**************************************************************************************************
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 met:
... |
93978decac06199b1f48479db18be6a72609431d7a98ebccd7e37b6c60face35 | CUDA | 17,268 | 454 | /**
* (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... |
bef405ea4361c0f0730021e3ffec58463323c74de4d80dbb340bdaf03cc9f6f5 | CUDA | 17,335 | 512 | /**
* (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... |
5e1b0a8fd134fe0caed48a05246424f96a2ed71578519023ad0004eaa04e553b | CUDA | 17,359 | 550 | /***************************************************************************************************
* 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... |
42e26a68deefb5f236591c378d2a64029dca7b0a75da66bcecdf6216d34b96a2 | CUDA | 17,384 | 357 | /**************************************************************************************************
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 met:
... |
d56d4c7999acabbb7fcc76ef662a289046f9adcfdeda625abee497eff0101727 | CUDA | 17,405 | 549 | /***************************************************************************************************
* 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... |
ec5207e9243be1f3cc6b78d89ec8759f9e4d545053bbb5f98f71ec525555d482 | CUDA | 17,453 | 549 | /***************************************************************************************************
* 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... |
8abf8e04197c65190480e8132cfdcac2dea09e06ade582665434be3441491bbc | CUDA | 17,686 | 368 | #include <stdio.h>
// On pytorch 1.10 and CUDA 10.2, I get compilation errors on torch/csrc/api/include/torch/nn/cloneable.h
// So we'll only include torch/python.h instead of torch/extension.h
// Similar to https://github.com/getkeops/keops/blob/3efd428b55c724b12f23982c06de00bc4d02d903/pykeops/torch_headers.h.in#L8
//... |
a2b1dfcf084dd7427bc3ac0be4e95b36b5ab53083838db26ca15f5114b1ffc35 | CUDA | 17,721 | 448 | /***************************************************************************************************
* 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... |
9aa1d80056cef33446b8d99c36d299c55a01d92253edb00cd0a621e73757ab34 | CUDA | 17,898 | 414 | /*
* 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 ... |
56075afc9e8dabeccee303f0aeeac0bf4542b73c736e761d6bc15232702a105d | CUDA | 17,907 | 539 | /**
* (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_pulsed_device.h"
#include <memory>
namespace RPU {
/******************************... |
ca509e22a108716ca3f65fd2243b61c65ad39785445c61593fa3c7849d938f02 | CUDA | 18,031 | 337 | /***************************************************************************************************
* 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... |
8c4a30d81135a3407e1151d2d81e24fe259fed97ebcdd81e4e354c91f0122ff7 | CUDA | 18,108 | 373 | /**************************************************************************************************
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 met:
... |
6276971fb926aab34b2f484a7bfb8357414fc98f3597e324da3677d2d46cb836 | CUDA | 18,274 | 374 | /**************************************************************************************************
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 met:
... |
57e218749a235f1f104382945fb50332df4bf43d7785577eddd6197b6747a412 | CUDA | 18,440 | 466 | /***************************************************************************************************
* 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... |
12f99a4b331cabc2ecae7398aaa26382664be9a8802c40e76abd1c6ba909b5c9 | CUDA | 18,532 | 352 | /***************************************************************************************************
* 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... |
5e665b8f8dcb4cf979f83e39683978e0d4fe529f7e16aa83e4961e52351d579c | CUDA | 18,585 | 351 | /***************************************************************************************************
* 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... |
01f61483dabd5655dacba7f2ffd905ce2c8c78afcce2157df23ce6d2f25ab236 | CUDA | 18,609 | 573 | /**
* (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... |
961f74d92e9abf96d3e96b0e384cef271610384c71f0d18a949d9ff43147ba11 | CUDA | 18,660 | 523 | /**
* (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... |
50ed48b931947d641a98140afd8856b5613ff1a3a53e255d27fe2210c4395d74 | CUDA | 18,822 | 648 | /***************************************************************************************************
* 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... |
b49c0b21f5d8c1855f72d771b6692ad7e765f4ddbf6eb579708f95ac249f0eaa | CUDA | 18,870 | 529 | /**
* (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... |
83e4728861f557c17b74a8ff67c081a2a63055214d92edd1ad752a845f7ddf8f | CUDA | 18,884 | 598 | /***************************************************************************************************
* 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... |
870286047b28884f40b54c80e35bf472661e463dd9615766e112050823aba98f | CUDA | 18,942 | 534 | /**
* (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 "rpucuda_dynamic_transfer_device.h"
#include <limits>
#include <memory>
namespace RPU {
/*******************... |
e4073541a56f9b984b10460713711333034c1ae30f99e38a49f998f5e0bb2847 | CUDA | 19,005 | 585 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "forward_backward_pass.h"
#include "rpu_pulsed_meta_parameter.h"
#include "rpucuda_transfer_device.h"
#include <limits>
#include <memory>
namespace RPU {
/*********... |
8946702408bcb35c53555e942330ee3615068463f1ad6d3f85f9e71604ba75c9 | CUDA | 19,140 | 537 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "cuda_math_util.h"
#include "io_iterator.h"
#include "pulsed_weight_updater.h"
#include "pwu_kernel_parameter.h"
#include "rpucuda_pulsed_device.h"
#include <algorit... |
7f5e813cd31060413a88100f812cab506a2eced665ca2713817734c5ab446a96 | CUDA | 19,151 | 492 | /***************************************************************************************************
* 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... |
6dd35fb1f8f3c8e18bec3bc2a60b531f1b70ace6a395754bc3cb342c3cbb5748 | CUDA | 19,221 | 586 | /**
* (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... |
6dbb62f9142f448b36924ef2551570712cd2f9a457aabc28edfdcd9f6db15367 | CUDA | 19,697 | 545 | /***************************************************************************************************
* 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... |
81b07c3d800c1cec1db25300f2941fec781cc6cdfede9ae725eabd5928a3afe0 | CUDA | 20,221 | 536 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
4a524fbd4163a93e6b1f818b6f1ffe99fce71a3aac7be3271ab14968f9538909 | CUDA | 20,825 | 613 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "noise_manager.h"
#include <chrono>
#include <cmath>
#include <iostream>
#include <memory>
#include <random>
#include "cuda_math_util.h"
#include "cuda_util.h"
#inc... |
b2d81205c1711ba3060091111deb45c802d33e0bf6154ab4fc71d18e0fc94527 | CUDA | 21,029 | 520 | /***************************************************************************************************
* 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... |
e32c24e8e6a8973fbf5238a4212c8bbf1259b43fd5cdc01f5b0399a655a41dac | CUDA | 21,096 | 647 | /**
* (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_modifier_cuda.h"
namespace RPU {
#define RPU_WM_KERNEL_LOOP(STOCH_IF, BODY) ... |
a3c22c9597a07e5930803f65a81f3684810443f05193900c428bd24ba91c6ef2 | CUDA | 21,122 | 521 | /***************************************************************************************************
* 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... |
afa25aa95a0558317d27784f7864a36de52eed177803585d304c30ff372e3652 | CUDA | 21,184 | 619 | /**
* (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... |
c7a7fab314f095b9a4dbd2b4fb273d2b4ac7a422a5e3f47deffedd44fba84905 | CUDA | 21,205 | 563 | /***************************************************************************************************
* 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... |
f08a505ab8dfbae4b50697feb95fd160d78e58790d19f38a29afdb0c75cd68ed | CUDA | 21,519 | 651 | /**
* (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... |
ab78e9fb85573ef69211119c6ae23e60664d1402a749bc40914ea1a1c0485cf0 | CUDA | 21,559 | 661 | /***************************************************************************************************
* 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... |
d4423c92ec1b1d2cc2f47f64fc9b0b3d39e8619fc5b28210dcb3d631021775f6 | CUDA | 21,568 | 563 | /***************************************************************************************************
* 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... |
0d61a5d245a43d4c75afb26984b69abc7741d3f1056575e5263b0a3f4c0b4069 | CUDA | 22,059 | 524 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
906d000d0e33e4f83ee08f2fbbcaefe1ed793b0117af3e12c5431d5ea9bad503 | CUDA | 22,090 | 660 | /***************************************************************************************************
* 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... |
290d0f591ac14760013c3ddb773bff70d2dbdde9ebc9396bf2c191c657adb390 | CUDA | 22,400 | 558 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
1ae15aedb1fce50dc57baa2381c5eb5478be5eced9af0b6822994b46b8054c39 | CUDA | 22,482 | 562 | /***************************************************************************************************
* 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... |
6ca6937e50655153fb8b8169a82e9915ae2327cf1bc9b48c8c3fd0e146aad9dc | CUDA | 22,675 | 692 | /***************************************************************************************************
* 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... |
cb68a648acdebc9506da7949445741b7de89962e8bb6035829ccfaae640689a8 | CUDA | 23,840 | 623 | /***************************************************************************************************
* 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... |
5f6473445cc0df4491e146c34b3766b845319eb341804cf23eebf7ee8ce727d4 | CUDA | 25,210 | 721 | /**
* (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 "forward_backward_pass.h"
#include "io_iterator.h"
#include "rpu_pulsed_meta_parameter.h"
#include "rpucuda_chopped_transfer_device.h"
#in... |
c4fd04cdff36f668eae780da5d0e310e9cef1a4ede4351519f448a4c68ab446a | CUDA | 25,252 | 640 | /***************************************************************************************************
* 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... |
f95b327a1cca7788e1a2c0e383a717c073edb13ff41d942ae27547f4cc919614 | CUDA | 25,956 | 749 | /***************************************************************************************************
* 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... |
2c3d6b50bbdb1538d7318deabe838a2adb215fcb3293a30c6a7172f28716aaf1 | CUDA | 26,015 | 751 | /***************************************************************************************************
* 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... |
e57b192b4b6e56346ff34bc5304efa09088ead598fd1cac7f5c1c7efc2cb6017 | CUDA | 26,142 | 875 | /***************************************************************************************************
* 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... |
eb7bc9bcb22bec7d23c4b8f169bb62ce3ff2b27486d602b1b19d837ce4bff673 | CUDA | 26,273 | 792 | /***************************************************************************************************
* 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... |
d75cfe68584179ecea1c0126e5923817240c5cb698cf7936317a737fa668ecce | CUDA | 26,365 | 1,116 | /***************************************************************************************************
* 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... |
a73a9cb69df2e18ae20243c4593443821a3a0690a15b29f2c6d2ef5e15d8e814 | CUDA | 26,416 | 682 | /***************************************************************************************************
* 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... |
e96bb4c96da0544dba962dffb469c393a9cde9e2c56e1202d4f3edcc43660497 | CUDA | 26,747 | 679 | /***************************************************************************************************
* 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... |
e469b35d416d0495ef3b0cdb7ae73c3af089266019e974103e63c7f06c925f66 | CUDA | 26,844 | 680 | /***************************************************************************************************
* 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... |
1d3523c59d90a9744201578735bfb2a15f7604f5e5364e9b5d50f4e0796fd541 | CUDA | 27,614 | 822 | /**
* (C) Copyright 2026 IBM. All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for details.
*/
#include "bit_line_maker.h"
#include "update_management_helper.h"
#include <cmath>
#include <iostream>
#include <memory>
#include "cuda_fp16_util.h"
#include "cuda_math_util... |
854ad50ffa8f3513f3cfa9ac0cbb35e52bc781234e776c0b645ccb5a42b52213 | CUDA | 27,675 | 753 | /*----------------------------------------------------------------------------*/
/* CP2K: A general program to perform molecular dynamics simulations */
/* Copyright 2000-2022 CP2K developers group <https://cp2k.org> */
/* ... |
ae3130fc53b9e1794df35f3f5d97903f5575ea58aefc70fa4377112b2aca92c7 | CUDA | 27,791 | 747 | /***************************************************************************************************
* 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... |
d339bea465a227a739b7d34fee6ce444cb0fda925de3c9a1ef86239172275fd6 | CUDA | 27,806 | 818 | /**
* (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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.