sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
a1ba985fd5e212ac6569d3bd86ff021fdce887fe6bba75c0acc6b27d9166dd48
CUDA
27,935
809
/*************************************************************************************************** * 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...
bb24922f76e98093be66e3c94f0235fba6603e66e0c355b5419ae3713f05dd25
CUDA
28,165
756
/*************************************************************************************************** * 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...
63efb87c3a0afa46591c071b4df76a6b799b66d5be352feef63362375c1ea443
CUDA
28,318
1,168
/*************************************************************************************************** * 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...
f4fbbc60e58e394c1304708403556ff2797f022b60ae1f0e6ae57934420fc6ac
CUDA
28,823
764
/*************************************************************************************************** * 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...
d40361dbc94dfbeb59af7a04710d337002a41b7a0cc52f40d1b86ab97ac4876f
CUDA
28,950
815
/*************************************************************************************************** * 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...
bc92166aeada1a0142d3f2d7a08c64586832a1318478a3044e28696c2a36c5b9
CUDA
29,043
686
/*************************************************************************************************** * 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...
70e16979aabde6a21e9f75e7451d5c25032333c98e99b094d56ac4ddd57e7cbf
CUDA
29,506
1,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...
572024034ca38fb53f53cdc5ff3e74e840c14b5537fdaf32e6ae8d0b5e8dfa1b
CUDA
29,982
856
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "io_manager.h" #include <chrono> #include <cmath> #include <iostream> #include <memory> #include <random> #include "cuda_fp16_util.h" #include "cuda_math_util.h" #i...
3659e8a13646780e873327ce6c3ab3024c823e5a196c4a396b4ba532406e7fd6
CUDA
30,211
867
/** * (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...
64dab8d0c75eb123ed8b5bfcda3c958343f48b6e47bbdfc812e8cff0c8a9130f
CUDA
30,344
862
/** * (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...
12d43354afef191be87de073acfd4f284bedd9f257e354b907b11eb0f0344c47
CUDA
30,438
926
/** * (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...
08c68b04c57f8b5baf55b82c48cace2bc111e8e71632ac593320a3bfb0e0d49f
CUDA
30,486
760
/*************************************************************************************************** * 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...
e19a7b58811354d2a87339a38ece8a5842f7b09239251981ab2301076b178a18
CUDA
31,144
744
/*************************************************************************************************** * 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...
939993b20740b25e84b35f9f11b2cca6184043c49414e0ed8cc316a1f182b8d2
CUDA
31,499
893
/** * (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.h" #include "rpucuda.h" #include "utility_functions.h" #include <iostream> // #include <random> #include <chrono> #include <c...
0f5ba9ab42ffed2d462e0da283655f6e854891de0b30cef64cb4dc5d6f400c4b
CUDA
31,516
948
/** * (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 "rpucuda_pulsed.h" #include <iostream> // #include <random> #include <chrono> #include <cmath> #include <memory> #define CHECK_RPU...
5464152d521b3f681f26bf16e5d753fc8c984a71de44a1bc7d40bbeaebb9ae49
CUDA
33,408
997
/** * (C) Copyright 2026 IBM. All Rights Reserved. * * Licensed under the MIT license. See LICENSE file in the project root for details. */ #include "io_manager.h" #include <chrono> #include <cmath> #include <iostream> #include <memory> #include <random> #include "cuda_fp16_util.h" #include "cuda_math_util.h" #i...
83faf9771dae60a3217e89d4e9117fc390919fc5e1e5454f538a426bfe742647
CUDA
33,441
995
/** * (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...
46eb64d026b1eac70f017f5ded3ec3fd882ba8053a7a145fb0984ccd07992092
CUDA
33,483
811
#include "ToRORd_fkatp_mixed_endo_mid_epi_GKsGKrtjca_adjustments.h" #include <stddef.h> #include <stdint.h> __global__ void kernel_set_model_initial_conditions(real *sv, int num_volumes, size_t pitch, bool use_adpt_dt, real min_dt) { int threadID = blockDim.x * blockIdx.x + threadIdx.x; // Default initial con...
7cbdd7983fc9655f5125ccf855c9ff5f735f3ba4a54040288f3c59718e8c8e65
CUDA
33,830
795
/*************************************************************************************************** * 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...
81db9ea9b8e1ba73206b187151a19b0dd8a217daf37d934a826526644c6b45cc
CUDA
33,898
1,010
/*************************************************************************************************** * 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...
939f8fcbf26bdc218ffe98c4c33f6c586e40a576ebdf93f62a88e6d39f8d7d0d
CUDA
33,905
795
/*************************************************************************************************** * 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...
b56176c31b7e06b8cb8cb1064c086b2a18848570ec210cb9536980b9472de4df
CUDA
33,905
795
/*************************************************************************************************** * 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...
adb0e8b058f8edbd197103db8747f6a727d4c5d4b604951aef6d4dad212cf3f8
CUDA
33,980
795
/*************************************************************************************************** * 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...
0996c4337db2c02327e9305badf91085f0dbe425bff28a5f2c8c3171585d916c
CUDA
34,226
793
#include "Paci_ToRORd_dynCl_PhiCaL_IKCa_mixed_apicobasal_infarctionRemod_RL.h" #include "../../gpu_utils/gpu_utils.h" #include <stddef.h> #include <stdint.h> //Adapted from https://github.com/rsachetto/MonoAlg3D_C/tree/master/src/models_library/ToROrd by Leto Riebel //Uses Rush Larsen by default, uncomment the 2...
5ddac3598a30f6e6ee264e28ac739e25dc740636a692c913ea03fcb2670718b1
CUDA
34,989
1,106
/*************************************************************************************************** * 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...
69279f95450480015d66bc2cb866c98775665f09198b6f6161291a0462f0d1f6
CUDA
36,406
855
/*************************************************************************************************** * 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...
1ff7b27d49236ac75207f5bf28d70809ab140a8d2826d66b5543ae578b6ab5df
CUDA
36,487
855
/*************************************************************************************************** * 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...
a8559b23e2ff0465ca068b973fa844349f80c617c46312c9c3b423ad0e50e6c6
CUDA
36,487
855
/*************************************************************************************************** * 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...
1004f6682caf51808a1830f88add1cae93fc0a50c7f00244673809426055a96b
CUDA
36,568
855
/*************************************************************************************************** * 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...
770166ad3aac1df595eb9077cf9e57cdc46efdc1b702bac4a7974ababe7b7b0c
CUDA
38,750
854
/*************************************************************************************************** * 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...
5090d47001d04b24a182441c40d8a5b23466754b76d3478959ed7e213885a5a0
CUDA
39,621
974
#include "ToRORd_Land_mixed_endo_mid_epi.h" #include <stddef.h> #include <stdint.h> __global__ void kernel_set_model_initial_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) { for (int...
63e2ba6caaaa249c9d060d63683b57233eb63b90ce0acc55397b00d3eeed96f7
CUDA
40,247
1,387
/*************************************************************************************************** * 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...
850b35b93b54bd6b2f9d1fc806740580c3603e1217f5bcfdeef4f85e6cc94c28
CUDA
41,293
985
/*************************************************************************************************** * 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...
a9430fc5e0aa2744be2b47834de7e7478c090bf0d4e3956169a3c4daec53a82a
CUDA
41,380
985
/*************************************************************************************************** * 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...
6d9027cfdd49f1ee1a80b3cf91c5a14857317051e45db5f30a924ccfd2760344
CUDA
41,472
985
/*************************************************************************************************** * 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...
3fd4d648f4f674042fa05cd3a024fc6287a1edf50446b75b34f439b4977c9a72
CUDA
41,765
1,377
/** * (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...
e0037ac816117bca276e3a35c326eddff0bb654532b407cb780cb73aeba0d2dc
CUDA
42,676
1,326
/*************************************************************************************************** * 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...
b7c66c3c0f72cd841a8ee3c87d3798cc37dc2ba42e5172a0c2e79f14bcb1fd01
CUDA
42,705
1,019
// // main.cpp // diffusion_cylinder_exchange // // Update Journal: // -- 6/26/2017: massive job version // -- 7/20/2017: do not divide DW signal & cumulants by b0 signal, record particle number in each compartment // -- 4/27/2019: diffusion in spheres with permeable membrane // -- 5/1/2019: implement cuda // -...
d670096169f4f89b0e00e900060d52a9d6d896827994820120bb87ab58c560f7
CUDA
42,790
1,419
/** * (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 "cuda_util.h" #include "utility_functions.h" #include <algorithm> #include <chrono> #include <iostream> #include <memory> #define DISABLE...
c00e92a7ca5b3f8376ae471e20b1debf60c11c7c3e6093b4d5ae8d0af129768e
CUDA
43,317
1,182
/* * Example of how to use the mxGPUArray API in a MEX file. This example shows * how to write a MEX function that takes a gpuArray input and returns a * gpuArray output, e.g. B=mexFunction(A). * * Copyright 2012 The MathWorks, Inc. */ #include <stdio.h> #include <stdlib.h> #include <cuda.h> #include <math.h> #i...
2c51b0685aada05ade884cd6684dad763c3a5bfd7d9db2d5204f5562da4c7e9d
CUDA
44,509
1,053
// // main.cpp // diffusion_sphere_exchange // // Update Journal: // -- 6/26/2017: massive job version // -- 7/20/2017: do not divide DW signal & cumulants by b0 signal, record particle number in each compartment // -- 4/27/2019: diffusion in spheres with permeable membrane // -- 5/1/2019: implement cuda // -- ...
3b1a41326d90a514980e29af5c63d0094488e64fe831729a721210fbde32bafe
CUDA
44,526
1,094
#include "ToRORd_dynCl_mixed_endo_mid_epi.h" #include <stddef.h> #include <stdint.h> __global__ void kernel_set_model_initial_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) { for (in...
acaf0ffb29348fd0906721ff51748b6a291a1df9cf0ba8d7da6389a100af1053
CUDA
45,187
1,175
// diffusion_3D_RMS // // Update Journal: // -- 03/11/2019: equal step length random leap, one fiber, IAS, 3D, cuda version // -- 04/25/2019: implement mitochondria, high permeability, short T2, same diffusivity as IAS // -- 01/29/2020: implement generalized realistic microstructure simulator (RMS): elastic reflec...
849a4c90dd77dee2c210d54df24ad3903ed731cc47688e4e6c72e91841515480
CUDA
46,769
1,119
#include "ToRORd_fkatp_mixed_endo_mid_epi.h" #include <stddef.h> #include <stdint.h> __global__ void kernel_set_model_initial_conditions(real *sv, int num_volumes, size_t pitch, bool use_adpt_dt, real min_dt) { int threadID = blockDim.x * blockIdx.x + threadIdx.x; // Default initial conditions (endocardium ce...
73b25929ac0f3e3bdbed29fb3ca34e0c551a0eef82910c0b8bddbb3d4f227d3a
CUDA
47,500
1,076
/*************************************************************************************************** * 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...
74b331ca74c9c47eb738649de8824d8e13a7cb61c95f4febda4557dcb1fdbf63
CUDA
47,656
1,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...
cc498ca66bb83e7d1d27b1dcfd4b086e1856c3c9d37490a36bccbbc6e9f62727
CUDA
47,766
1,125
/*************************************************************************************************** * 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...
baf10a48b4c55dd26b717cb89df90eaf1bd84528ee0716cb4d6df43dc76e7292
CUDA
47,874
1,125
/*************************************************************************************************** * 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...
92e4764a684883bf7ec4ad84fd4f456ed1e12924985c9530208b5b1948ff9398
CUDA
48,774
1,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...
defb133b584358b3f0eb2583e89d1f4c731286204f66aab862e69803d67d0754
CUDA
48,859
956
/* * 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 ...
2c1b6fb31680797190b9af130605ff01d44a2c93e519706eb567863de7d9dec9
CUDA
49,958
1,345
/*************************************************************************************************** * 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...
b8ae36334817c05b0810856c51997ce9b4e27ed2f66c034188e9daaa082e9f28
CUDA
49,983
1,101
/*************************************************************************************************** * 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...
b306e5b3add8b3753d5342d8b5f620a4e004d1a54f588f16764003b40bb18149
CUDA
50,022
1,016
/*************************************************************************************************** * 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...
f9eebd6af3c2aa02ef674f0978387941fea35dac092dcff304a7c388120e86c4
CUDA
54,618
1,455
/*************************************************************************************************** * 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...
fa4fd264120dbe4fcc24f967ff50203acb7426f560a9e781c2335c942daeac84
CUDA
55,272
1,675
/*************************************************************************************************** * 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...
2f6f669297580c03d95b62dcff22b08be7a1aacd56d4cbf66fb7740e9909e917
CUDA
55,344
1,305
/*************************************************************************************************** * 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...
cb4ba5ccb82e4ed93202fbccb5167f8e044719a321463372222f146cb6654641
CUDA
60,742
1,869
/** * (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...
cc2a7059c5d6feb83db3a3f5f7d425077b8104ed3efe657a04696f5dd31f9113
CUDA
61,152
1,876
/** * (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 "cuda_util.h" #include "io_iterator.h" #define RPU_GET_CUBLAS_HANDLE ...
f1db9ac7e7e7e9b16e8aaea7da6e539555338d33cb9f3e8ea5436f9d2f9163ad
CUDA
69,415
1,665
/*************************************************************************************************** * 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...
6ae6707dcde4360edb56d7bd9d0184cac8ed0166e4c97dac6b3e019002207dd5
CUDA
70,824
1,695
/*************************************************************************************************** * 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...
da05760b95f1f3a1dceac3171729fe9aab3844ac8b014cb09f90f5437bfb4081
CUDA
71,146
1,704
/*************************************************************************************************** * 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...
e9d1916f9944b727a0e2db9212a271fe629624486d29a20cff1294fa396b8d8b
CUDA
71,735
1,725
/*************************************************************************************************** * 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...
0d9564959d2798d9a13152dad0cc765699e7d6bdf60b004ccd694c00d3345942
CUDA
72,560
1,734
/*************************************************************************************************** * 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...
959ce92f45dfc2f1b381fc50699771bba12a787b276e72f02913103c387b382c
CUDA
73,147
1,755
/*************************************************************************************************** * 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...
9a78ddf846bbab2eded3571abc6f22ecd947bd425322ebf15f8b4bff31c6001c
CUDA
73,349
2,889
/*************************************************************************************************** * 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...
b9e09b7088fce92c868a1ff67cf07cbfeacb967a401b15cf1c77b19b1f11063b
CUDA
73,473
1,764
/*************************************************************************************************** * 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...
6ec2fcd2f412d5cfbe2390046b7fa327beeacf754dd011152ae225710361f339
CUDA
74,884
1,794
/*************************************************************************************************** * 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...
a52616f2dcd4b835b49451140466158de4f8eefc6aab2022515c5f1cc5f4edc3
CUDA
80,199
2,123
/*************************************************************************************************** * 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...
393d256f7ea444a3c833afa5ad2f38b3ffdaca8894b041027b0d9e5e1d34ae56
CUDA
83,472
1,859
/*************************************************************************************************** * 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...
65f6c2ae8764e332aeb2d6e9bf10ecd929b9c6f3dbd28104e26b212fa47f9f45
CUDA
87,658
3,072
/*************************************************************************************************** * 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...
405b0328df1c4049fb681005d94bcf10342f0bb96d2b0abdf5cbd9df42fcb455
CUDA
91,220
2,175
/*************************************************************************************************** * 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...
98793972472ec1d881f5bef9e6666433006462a99ef8cb2d3cb558fd63f90a74
CUDA
91,433
2,175
/*************************************************************************************************** * 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...
ed8ea74eb7bad405def3348c64ec77bdb11b2f3bfff20596362392e74801a14c
CUDA
91,433
2,175
/*************************************************************************************************** * 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...
0298aead64af2a5a991190c7f2f45c5e9b758454928145c4b547fcdd536f8173
CUDA
91,646
2,175
/*************************************************************************************************** * 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...
41c17c3caa113cd7fc1a7129b52a24e911af402e6418680a5013d9d7b0b36ff4
CUDA
97,093
2,697
/*************************************************************************************************** * 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...
c96ebcc7c97cff44f6fbbfc7e3be4064340604ad520e3bcc4e629ae405ae2665
CUDA
97,231
2,312
/** * (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 <bitset> #include <chrono> #include <cmath> #include <iostream> #include <memory> #include <random> #include "chopped_weight_output.h" #...
648e2c1b2bec9c7ba42528a513dcf60d41e135b6ad7d447eee6e75a46b894204
CUDA
97,504
2,319
/** * (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...
f7c68bd63995873a979447678c1f9e1db92e4388d1643db7ec918750ccf24f7a
CUDA
138,828
3,829
/*************************************************************************************************** * 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...
066acb9ddba48df26ea9947242280505877a6ec52d3361651b1c0ecded5db220
Fortran
1,066
55
program main implicit none integer*4 :: nd, Ns, Nt nd = 1 Ns = 1000 Nt = 1000 call test(nd, Ns, Nt) end subroutine test(nd, Ns, Nt) use iso_c_binding implicit none include 'kernels.f90' integer*4 :: i, nd, Ns, Nt real*8 :: Xs(Ns*3), Xt(Nt*3), thresh complex*16 :: zk, Vs(Ns*nd), Vt(Nt*nd), Vt_r...
00faaf70cb2881112ba68367098fe23df906d205e5fb7d744c506e9046f36a3c
Fortran
2,479
54
! Basic use statements and preprocessor macros ! should be included in the use statements USE base_hooks, ONLY: cp__a,& cp__b,& cp__w,& cp__h,& ...
39e1d333f78035cfd7f5678242127b7caafaf1caa9fa7d214a39a82613d9e1ed
Fortran
2,531
94
!---------------------------------------------------------------------- !---------------------------------------------------------------------- ! MePD model based on Wilson-Cowan framework !---------------------------------------------------------------------- !----------------------------------------------------...
ad36187b23f71bcae24ce78eb121f13870d1cf1aee87d92d8ec06003aec6ad7a
Fortran
2,531
94
!---------------------------------------------------------------------- !---------------------------------------------------------------------- ! MePD model based on Wilson-Cowan framework !---------------------------------------------------------------------- !----------------------------------------------------...
da6f2bf17fcdf811d5a9efaaf9f8612d584588da63e2b0035e1f194afce33479
Fortran
2,929
125
! --------------------------------------------------------------------- ! ! File: 'ConsoleProgressBar.f90' ! Author: J. Barthel, juribarthel@gmx.de ! Date: 06.04.2011 ! Last modified: 21.09.2015 (JB) ! ! Subroutines for display of a simple progress-bar in console apps ! - use CSPROG ! - call CSPROG_INIT to initialize a...
cfca2c9bae0e675305c72a7520a8606766a8071332db00c26eac23540cbada3d
Fortran
2,983
129
#ifdef MATLAB #ifdef GNU #include "fintrf.h" MODULE matlabproblem USE iso_c_binding USE scattersearchtypes CONTAINS SUBROUTINE openmatlab(ep) IMPLICIT NONE integer*8, INTENT(INOUT) :: ep integer*8 :: engOpen ep = engOpen('matlab -R -nodisplay -nojvm -nosplash') if (ep .eq. 0) then ...
95864a2bd8878dff8641d9e109ea66a7bb9190f18fed47606de16eca6691f572
Fortran
3,464
132
!---------------------------------------------------------------------- !---------------------------------------------------------------------- ! KNDy+MePD !---------------------------------------------------------------------- !---------------------------------------------------------------------- SUBRO...
f41ee1be2e3018a041d207b741cdbb383450744ab26404417ddff5af9b15e09e
Fortran
3,549
65
!**********************************************************************! !**********************************************************************! ! ! ! File : precision.f90 ! ! ...
50749929664c2d696717374382e0c3b444256dd24af84994d67e7b5aa670f534
Fortran
4,159
155
!**********************************************************************! !**********************************************************************! ! ! F90 Source - simpleio ! ! Author: Dr. J. Barthel ! Forschungszentrum Juelich GmbH ! Jülich, Germany ! ju.barthel@fz-juelich.de ! first ver...
e32365355f589ecfcea350c8164fa824ca3db2a00b50b5d8d0855d0e0d87bd71
Fortran
4,949
138
interface subroutine helm3d_f(nd, zk, sources, charge, ns, ztarg, nt, pot, thresh) !bind(C, name="helm3d_f_") implicit none integer *4, intent(in) :: nd complex *8, intent(in) :: zk real *8, intent(in) :: sources(*) complex *8, intent(in) :: charge(*) integer *4, intent(in) :: ns real ...
4c4cd68275fc35bd517534e7946989ae6d167ab3c1d7ce7c5648982cdd0216d4
Fortran
5,043
135
!******************************************************************************! !******************************************************************************! ! ! ! file "BasicTypes".f95 ...
3303f3cf9e9224a6e5d3e1d757fd2273803671874aa6af36427180d3b175b70a
Fortran
6,130
125
!**********************************************************************! !**********************************************************************! ! ! ! File : fftmkl.f90 ! ! ...
5ba278b6a4bcfaa84b95fccc0cd5b4e5bdfd2286f8536d3a671a7991b2cde5aa
Fortran
8,908
395
program test_hfmm3d_adjoint implicit double precision (a-h,o-z) double precision :: center0(3), center1(3) double precision :: xnodes(10000), wts(10000) double complex :: zk, ima, zrat, zrat1 double complex, allocatable :: mpole0(:,:,:), mpole1(:,:,:) double complex, allocatable :: mpmpmat(:,:,:,:) ...
94f70fff79419a805ec0095dc6fc8e1249f9a94ad838c219a9f58da519e43a84
Fortran
9,535
233
!**********************************************************************! ! ! FILE "celslcprm.f90" ! FORTRAN MODULE celslcprm ! ! PURPOSE: global parameters for program CELSLC ! ! AUTHOR: Juri Barthel, ju.barthel@fz-juelich.de ! Forschungszentrum Jülich, Germany ! 27.11.2019 ! ! last modified: J.B. 17....
93444c7fc8bd7d505249dba791f5c530fea7fd2c3e4302724b3d838fc9f7b3dd
Fortran
10,539
463
program test_hfmm3d_mp2loc implicit double precision (a-h,o-z) character(len=72) str1 integer :: ns, nt, nc integer :: i,j,k,ntest,nd,idim integer :: ifcharge,ifdipole,ifpgh,ifpghtarg integer :: ipass(18),len1,ntests,isum integer, allocatable :: nterms(:), impole(:) double precision :: eps, err...
c97be5e65d7e8e87e41e0eed289afc829e00ef236e818408234c41ad718d9981
Fortran
12,637
357
!**********************************************************************! !**********************************************************************! ! ! FILE: "wavimgprm.f90" ! ! AUTHOR: Dr. J. Barthel ! Ernst Ruska-Centre ! RWTH Aachen University, Aachen, Germany ! Forschungszentrum, Jülich, Germa...
cf8ba5a0e5a27bb82397767ec7f6beafd5ff2f9f70222a329310bf87b89fe66e
Fortran
14,854
452
!**********************************************************************! !**********************************************************************! ! ! FILE: "celslc.f90" ! ! AUTHOR: Dr. J. Barthel ! Ernst Ruska-Centre ! Forschungszentrum Jülich GmbH, 52425 Jülich, Germany ! ! PURPOSE: Implementations of ...
44781d4ae2efc117401f6cc92384f4e797877ea2b08606c0aa1c610eb1a8a619
Fortran
16,135
575
!**********************************************************************! !**********************************************************************! ! ! ! file "random".f90 ! ! ...
6a6a044f04694bd9e41b6425750c731ff92ffbf0592b59e5fe304e5bb06c4ff1
Fortran
16,718
679
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! This file contains interfaces for the maxwell fmm3d and ! direct calculation. It contains the two subroutines: ! ! emfmm3d - Maxwell fmm3d with nd densities ! ! em3ddirect - Maxwell direct calculation with nd ! densities ! ! (input sources an...
fbdea8e2db68cb14d71164107a0e67291a469b39554210733ea8f4d5d8b5900e
Fortran
21,396
945
!**********************************************************************! !**********************************************************************! ! ! FILE: "binio2.f90" ! ! AUTHOR: Dr. J. Barthel ! Forschungszentrum Jülich ! Jülich, Germany ! ! PURPOSE: Implementation for simple binary data input and ou...
ec5a2ab647d9c66bfed1fc256b030eb6f90adc02b0b0b5b8218a41e7d38260c4
Fortran
22,707
771
!*********************************************************************! ! ! J. Barthel, (c) 2017, RWTH Aachen ! ! ju.barthel-at-fz-juelich.de ! !*********************************************************************! !*********************************************************************! ! ! Numerical integration routi...
fca819cae69af7e750c84c08b6a92272b5aa3dd32db6c7bc727acc7475722940
Fortran
23,102
642
!**********************************************************************! !**********************************************************************! ! ! ! file "plasmon".f90 ! ! ...