filename stringlengths 40 40 | cuda_source stringlengths 12 1.26M | cuda_host stringlengths 1.53k 859k | cuda_device stringlengths 17 10.5M | hip_source stringlengths 29 1.26M | hip_host stringlengths 408 1.58M | hip_device stringlengths 650 2.28M |
|---|---|---|---|---|---|---|
759ecbbfa1646c1f70d99ece9884f5907876404f |
/*
* main.cu
*
* Created on: Nov 14, 2019
* Author: cuda-s01
*/
#include <stdio.h>
__global__ void matrixMultiplicationKernel(float* M, float* N, float* P, int Width) {
// Calculate the row index of the P element and M
int Row = blockIdx.y*blockDim.y+threadIdx.y;
// Calculate the column index of P and N
... | .file "tmpxft_003b47c5_00000000-6_main.cudafe1.cpp"
.text
#APP
#NO_APP
.type _ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2032:
.cfi_startproc
endbr64
movq _ZL20__cudaFatCubinHandle(%rip), %rdi
jmp __cudaUnregisterFatBinary@PLT
.cfi_endproc
.LFE2032:
.size _ZL26__cudaUnreg... |
code for sm_89
Function : _Z26matrixMultiplicationKernelPfS_S_i
.headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)"
/*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */
... |
/*
* main.cu
*
* Created on: Nov 14, 2019
* Author: cuda-s01
*/
#include <hip/hip_runtime.h>
#include <stdio.h>
__global__ void matrixMultiplicationKernel(float* M, float* N, float* P, int Width) {
// Calculate the row index of the P element and M
int Row = blockIdx.y*blockDim.y+threadIdx.y;
// Calculat... | .text
.file "main.hip"
.globl _Z41__device_stub__matrixMultiplicationKernelPfS_S_i # -- Begin function _Z41__device_stub__matrixMultiplicationKernelPfS_S_i
.type _Z41__device_stub__matrixMultiplicationKernelPfS_S_i,@function
_Z41__device_stub__matrixMultiplicationKernelPfS_S_i: # @_Z41__device_stub__matrixMultiplic... | .text
.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
.protected _Z26matrixMultiplicationKernelPfS_S_i ; -- Begin function _Z26matrixMultiplicationKernelPfS_S_i
.globl _Z26matrixMultiplicationKernelPfS_S_i
.p2align 8
.type _Z26matrixMultiplicationKernelPfS_S_i,@function
_Z26matrixMultiplicationKernelPfS_S_i: ; @_Z26... |
0fa3a2829c1545b0a70919d834f1d5a87c13ea9a | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#define X 153
#define Y 42
#define DELAY 90
#define ROW 10
#define COL 64
__global__ void ga (char *A, char *B) {
int i = blockIdx.x * blockDim.x + threadIdx.x;
int j = blockIdx.y * blockDim.y + threadIdx.y;
int neighbours = 0;
... | .file "tmpxft_0039cd09_00000000-6_game.cudafe1.cpp"
.text
#APP
#NO_APP
.type _ZL26__cudaUnregisterBinaryUtilv, @function
_ZL26__cudaUnregisterBinaryUtilv:
.LFB2043:
.cfi_startproc
endbr64
movq _ZL20__cudaFatCubinHandle(%rip), %rdi
jmp __cudaUnregisterFatBinary@PLT
.cfi_endproc
.LFE2043:
.size _ZL26__cudaUnreg... |
code for sm_89
Function : _Z2gaPcS_
.headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)"
/*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */
... |
#include <hip/hip_runtime.h>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
#define X 153
#define Y 42
#define DELAY 90
#define ROW 10
#define COL 64
__global__ void ga (char *A, char *B) {
int i = blockIdx.x * blockDim.x + threadIdx.x;
int j = blockIdx.y * blockDim.y + threadId... | .text
.file "game.hip"
.globl _Z17__device_stub__gaPcS_ # -- Begin function _Z17__device_stub__gaPcS_
.type _Z17__device_stub__gaPcS_,@function
_Z17__device_stub__gaPcS_: # @_Z17__device_stub__gaPcS_
.cfi_startproc
# %bb.0:
pushq %r15
.cfi_def_cfa_offset 16
pushq %r14
.cfi_def_cfa_offset 24
... | .text
.amdgcn_target "amdgcn-amd-amdhsa--gfx1100"
.protected _Z2gaPcS_ ; -- Begin function _Z2gaPcS_
.globl _Z2gaPcS_
.p2align 8
.type _Z2gaPcS_,@function
_Z2gaPcS_: ; @_Z2gaPcS_
; %bb.0:
s_clause 0x1
s_load_b32 s2, s[0:1], 0x1c
s_load_b128 s[4:7], s[0:1], 0x0
v_and_... |
3fcada7c51f85d9930e0db10fbfe8b2ce98d21d4 | "#include <thrust/device_vector.h>\n\ntemplate <typename PairType>\n__device__ void load_pair_array((...TRUNCATED) | "\t.file\t\"tmpxft_00215712_00000000-6_vectorLoad.cudafe1.cpp\"\n\t.text\n#APP\n\t.globl _ZSt21ios_b(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _ZN3cub17CUB_200700_890_NS6detail8for_each13static_kernelINS2_12(...TRUNCATED) | "\n#include <hip/hip_runtime.h>\n#include <thrust/device_vector.h>\n\ntemplate <typename PairType>\n(...TRUNCATED) | "\t.text\n\t.file\t\"vectorLoad.hip\"\n # Start of file scope(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.section\t.text._ZN6thrust11hip_rocprim(...TRUNCATED) |
8032f5b6ea26ecdd9badfbe388d77fa6175b2747 | "#include \"includes.h\"\n__global__ void update(float* original, float* newTE, float* current, int (...TRUNCATED) | "\t.file\t\"tmpxft_002c57ae_00000000-6_update.cudafe1.cpp\"\n\t.text\n#APP\n\n#NO_APP\n\t.type\t_ZL2(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _Z6updatePfS_S_i\n\t.headerflags\t@\"EF_CUDA_TEXMODE_UNIFIED EF_(...TRUNCATED) | "\n#include <hip/hip_runtime.h>\n#include \"includes.h\"\n__global__ void update(float* original, fl(...TRUNCATED) | "\t.text\n\t.file\t\"update.hip\"\n\t.globl\t_Z21__device_stub__updatePfS_S_i # -- Begin function _Z(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z6updatePfS_S_i ; -(...TRUNCATED) |
8d69ab58edb6d98f89dc571062949c1be730b418 | "#include <cuda.h>\n#include <cuda_runtime.h>\n#include <device_launch_parameters.h>\n\n#include <cs(...TRUNCATED) | "\t.file\t\"tmpxft_002ab15a_00000000-6_scratchpad-04.cudafe1.cpp\"\n\t.text\n#APP\n\n#NO_APP\n\t.typ(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _Z14test_kernel_3d14cudaPitchedPtr\n\t.headerflags\t@\"EF_CUDA_T(...TRUNCATED) | "#include <hip/hip_runtime.h>\n\n\n\n#include <cstdio>\n\nconstexpr size_t BLOCKSIZE_x = 16;\nconste(...TRUNCATED) | "\t.text\n\t.file\t\"scratchpad-04.hip\"\n\t.globl\t_Z8i_div_upii # -- Begin funct(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z14test_kernel_3d13hipPitc(...TRUNCATED) |
82e49b6453335585c3980bc5e14c1cd9b731c6a7 | "#include <cstdio>\n#include <string>\n#include <cassert>\n#include <iostream>\n#include <cstddef>\n(...TRUNCATED) | "\t.file\t\"tmpxft_002b7e94_00000000-6_lab.cudafe1.cpp\"\n\t.text\n#APP\n\t.globl _ZSt21ios_base_lib(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv\n\t.headerflags\t@(...TRUNCATED) | "\n#include <hip/hip_runtime.h>\n#include <cstdio>\n#include <string>\n#include <cassert>\n#include (...TRUNCATED) | "\t.text\n\t.file\t\"lab.hip\"\n # Start of file scope inline(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z11k_blocksortPxi ; -(...TRUNCATED) |
277929e95b46b743491f69c9c7275f2da25851b8 | "#include \"includes.h\"\n__global__ void invert(float *output, int* input, const int size)\n{\nint (...TRUNCATED) | "\t.file\t\"tmpxft_0035a58b_00000000-6_invert.cudafe1.cpp\"\n\t.text\n#APP\n\n#NO_APP\n\t.type\t_ZL2(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _Z6invertPfPii\n\t.headerflags\t@\"EF_CUDA_TEXMODE_UNIFIED EF_CU(...TRUNCATED) | "\n#include <hip/hip_runtime.h>\n#include \"includes.h\"\n__global__ void invert(float *output, int*(...TRUNCATED) | "\t.text\n\t.file\t\"invert.hip\"\n\t.globl\t_Z21__device_stub__invertPfPii # -- Begin function _Z2(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z6invertPfPii ; -(...TRUNCATED) |
2041699c3f8f7a1da4964f588f20023e76f558a6 | "\n#include \"cuda_runtime.h\"\n#include \"device_launch_parameters.h\"\n#include <stdlib.h>\n#inclu(...TRUNCATED) | "\t.file\t\"tmpxft_00241594_00000000-6_CPU.cudafe1.cpp\"\n\t.text\n#APP\n\t.globl _ZSt21ios_base_lib(...TRUNCATED) |
code for sm_89
| "\n#include \"hip/hip_runtime.h\"\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <time.h>\n#in(...TRUNCATED) | "\t.text\n\t.file\t\"CPU.hip\"\n # Start of file scope inline(...TRUNCATED) | "\t.text\n\t.p2alignl 7, 3214868480\n\t.fill 96, 4, 3214868480\n\t.type\t__hip_cuid_,@object (...TRUNCATED) |
f416884aaf01e9564f5335989f92451aaeffdf2f | "#include \"includes.h\"\n__global__ void shared1R8C1W8C1G(float *A, float *B, float *C, const int N(...TRUNCATED) | "\t.file\t\"tmpxft_0027444b_00000000-6_shared1R8C1W8C1G.cudafe1.cpp\"\n\t.text\n#APP\n\n#NO_APP\n\t.(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _Z16shared1R8C1W8C1GPfS_S_i\n\t.headerflags\t@\"EF_CUDA_TEXMODE_(...TRUNCATED) | "\n#include <hip/hip_runtime.h>\n#include \"includes.h\"\n__global__ void shared1R8C1W8C1G(float *A,(...TRUNCATED) | "\t.text\n\t.file\t\"shared1R8C1W8C1G.hip\"\n\t.globl\t_Z31__device_stub__shared1R8C1W8C1GPfS_S_i # (...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z16shared1R8C1W8C1GPfS_S_i(...TRUNCATED) |
503c5c28a1a379566725c5854712eb5580dabb1f | "/*\n\tkernel.cu\n\tHolds the kernel for the main program\n*/\n\n#include <iostream>\n\n#define BLOC(...TRUNCATED) | "\t.file\t\"tmpxft_0024761a_00000000-6_kernel.cudafe1.cpp\"\n\t.text\n#APP\n\t.globl _ZSt21ios_base_(...TRUNCATED) | "\n\tcode for sm_89\n\t\tFunction : _Z12rgba_to_greyP6uchar4Phmm\n\t.headerflags\t@\"EF_CUDA_TEXMODE(...TRUNCATED) | "/*\n\tkernel.cu\n\tHolds the kernel for the main program\n*/\n\n\n#include <hip/hip_runtime.h>\n#in(...TRUNCATED) | "\t.text\n\t.file\t\"kernel.hip\"\n # Start of file scope inl(...TRUNCATED) | "\t.text\n\t.amdgcn_target \"amdgcn-amd-amdhsa--gfx1100\"\n\t.protected\t_Z12rgba_to_greyP15HIP_vect(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 14