Datasets:

filename
stringlengths
40
40
cuda_source
stringlengths
11
9.01M
cuda_host
stringlengths
1.53k
6.65M
cuda_device
stringlengths
17
97.4M
hip_source
stringlengths
29
9.01M
hip_host
stringlengths
407
13.3M
hip_device
stringlengths
650
11.7M
95613da81fbf8309865e5b1813c890e4abe31450
/* from: https://devblogs.nvidia.com/parallelforall/even-easier-introduction-cuda/ * Jialin Liu * Simple starting cpp cuda program * Jun 24 2017, Saturday, 2:09pm * Compile and test on Maeve, a 3GPU single node at NERSC, LBNL, CA. */ #include<iostream> #include<math.h> using namespace std; //CUDA kernel functio...
.file "tmpxft_002501ab_00000000-6_simple_gpu.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89 Function : _Z3addiPfS_ .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 */ ...
/* from: https://devblogs.nvidia.com/parallelforall/even-easier-introduction-cuda/ * Jialin Liu * Simple starting cpp cuda program * Jun 24 2017, Saturday, 2:09pm * Compile and test on Maeve, a 3GPU single node at NERSC, LBNL, CA. */ #include <hip/hip_runtime.h> #include<iostream> #include<math.h> using namespa...
.text .file "simple_gpu.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z18__device_stub__addiPfS_ # -- Begin function _Z18__device_stub__addiPfS_ .type _Z...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3addiPfS_ ; -- Begin function _Z3addiPfS_ .globl _Z3addiPfS_ .p2align 8 .type _Z3addiPfS_,@function _Z3addiPfS_: ; @_Z3addiPfS_ ; %bb.0: s_load_b32 s4, s[0:1], 0x0 s_waitcnt lgkmcnt(0) s_cmp_lt_i32 s4, 1 s_cb...
3c16eb382cce37d4f1668a1284dcafa08010009f
#include <stdio.h> /* //=========== PART-1 ======================== __global__ void hello() { } int main(void) { hello<<< 1, 1 >>>(); cudaDeviceSynchronize(); printf("Hello World\n"); return 0; } */ //=========== PART-2 ======================== __device__ const char *STR = "HELLO WORLD!"; const char STR_LENGTH...
.file "tmpxft_0034bb6f_00000000-6_hello.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z5hellov .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> /* //=========== PART-1 ======================== __global__ void hello() { } int main(void) { hello<<< 1, 1 >>>(); cudaDeviceSynchronize(); printf("Hello World\n"); return 0; } */ //=========== PART-2 ======================== __device__ const char *STR = "HELLO ...
.text .file "hello.hip" .globl _Z20__device_stub__hellov # -- Begin function _Z20__device_stub__hellov .type _Z20__device_stub__hellov,@function _Z20__device_stub__hellov: # @_Z20__device_stub__hellov .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 _Z5hellov ; -- Begin function _Z5hellov .globl _Z5hellov .p2align 8 .type _Z5hellov,@function _Z5hellov: ; @_Z5hellov ; %bb.0: v_mul_u32_u24_e32 v1, 0x1556, v0 s_getpc_b64 s[2:3] s_add_u32 s2, s2, STR@rel32@...
a40f9ba69eec0224df98d7c3df9ce1187fab1214
__global__ void exampleDevice( float * d ) { int idx = blockIdx.x * blockDim.x + threadIdx.x; d[ idx ] = idx; } extern "C" void exampleHost( float * h, int blockDim, int threadDim ) { float * d; cudaMalloc( ( void** )&d, blockDim * threadDim * sizeof( float ) ); exampleDevice<<<blockDim, threadD...
.file "tmpxft_00251445_00000000-6_cuexample.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cuda...
code for sm_89 Function : _Z13exampleDevicePf .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 */ ...
#include <hip/hip_runtime.h> __global__ void exampleDevice( float * d ) { int idx = blockIdx.x * blockDim.x + threadIdx.x; d[ idx ] = idx; } extern "C" void exampleHost( float * h, int blockDim, int threadDim ) { float * d; hipMalloc( ( void** )&d, blockDim * threadDim * sizeof( float ) ); exam...
.text .file "cuexample.hip" .globl _Z28__device_stub__exampleDevicePf # -- Begin function _Z28__device_stub__exampleDevicePf .type _Z28__device_stub__exampleDevicePf,@function _Z28__device_stub__exampleDevicePf: # @_Z28__device_stub__exampleDevicePf .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13exampleDevicePf ; -- Begin function _Z13exampleDevicePf .globl _Z13exampleDevicePf .p2align 8 .type _Z13exampleDevicePf,@function _Z13exampleDevicePf: ; @_Z13exampleDevicePf ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x14 ...
013ed6d2a2a5522696213451e98d4b329129dc21
#include "includes.h" __global__ void kernel_512_one_128(float *A, float *B, float *bnBias, float *bnScale, float *C) { int tile = blockIdx.x, in_channel = threadIdx.x, line = threadIdx.y; int ind = line*128 + in_channel; extern __shared__ float shared_[]; float *weights = shared_ + 512*4, *output = weights + 128*64, ...
.file "tmpxft_0036cd1f_00000000-6_kernel_512_one_128.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _Z...
code for sm_89 Function : _Z18kernel_512_one_128PfS_S_S_S_ .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void kernel_512_one_128(float *A, float *B, float *bnBias, float *bnScale, float *C) { int tile = blockIdx.x, in_channel = threadIdx.x, line = threadIdx.y; int ind = line*128 + in_channel; extern __shared__ float shared_[]; float *weights = shared_ + 512*4...
.text .file "kernel_512_one_128.hip" .globl _Z33__device_stub__kernel_512_one_128PfS_S_S_S_ # -- Begin function _Z33__device_stub__kernel_512_one_128PfS_S_S_S_ .type _Z33__device_stub__kernel_512_one_128PfS_S_S_S_,@function _Z33__device_stub__kernel_512_one_128PfS_S_S_S_: # @_Z33__device_stub__kernel_512_one_128PfS...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18kernel_512_one_128PfS_S_S_S_ ; -- Begin function _Z18kernel_512_one_128PfS_S_S_S_ .globl _Z18kernel_512_one_128PfS_S_S_S_ .p2align 8 .type _Z18kernel_512_one_128PfS_S_S_S_,@function _Z18kernel_512_one_128PfS_S_S_S_: ; @_Z18kernel_512_one_128Pf...
b1a947dcc8bd1027497aca8303adf8002813525c
//Parallel programming for many core GPUs //Name: Gesu Bal //Instructor name: Meilin Liu /* this is a simple cuda program calculating Tiled Matrix vector multiplication for 2 dimensions on GPU device I multiplied two double two-dimensional matrices A, B on the device GPU. After the device matrix multiplication kernel ...
.file "tmpxft_002ec0ee_00000000-6_Tiled_Matrix_Mul.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL2...
code for sm_89 Function : _Z14mul_matrix_gpuPdS_S_i .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 */ ...
//Parallel programming for many core GPUs //Name: Gesu Bal //Instructor name: Meilin Liu /* this is a simple cuda program calculating Tiled Matrix vector multiplication for 2 dimensions on GPU device I multiplied two double two-dimensional matrices A, B on the device GPU. After the device matrix multiplication kernel ...
.text .file "Tiled_Matrix_Mul.hip" .globl _Z29__device_stub__mul_matrix_gpuPdS_S_i # -- Begin function _Z29__device_stub__mul_matrix_gpuPdS_S_i .type _Z29__device_stub__mul_matrix_gpuPdS_S_i,@function _Z29__device_stub__mul_matrix_gpuPdS_S_i: # @_Z29__device_stub__mul_matrix_gpuPdS_S_i .cfi_startproc # %bb.0: pus...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14mul_matrix_gpuPdS_S_i ; -- Begin function _Z14mul_matrix_gpuPdS_S_i .globl _Z14mul_matrix_gpuPdS_S_i .p2align 8 .type _Z14mul_matrix_gpuPdS_S_i,@function _Z14mul_matrix_gpuPdS_S_i: ; @_Z14mul_matrix_gpuPdS_S_i ; %bb.0: s_clause 0x2 s_...
4c7955f31b6580d961f7e207abe9a9d71687adcb
#include <stdio.h> int main() { int dimx = 10; int num_bytes = dimx * sizeof (int); // device and host pointers int *d_a = 0; int *h_a = 0; /*Aloca memria na CPU para n inteiros*/ h_a = (int*) malloc(num_bytes); printf("%i\n", num_bytes); /*Aloca memria na GPU para n inteiros*...
.file "tmpxft_00221f53_00000000-6_cuda-code-1.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cu...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> int main() { int dimx = 10; int num_bytes = dimx * sizeof (int); // device and host pointers int *d_a = 0; int *h_a = 0; /*Aloca memria na CPU para n inteiros*/ h_a = (int*) malloc(num_bytes); printf("%i\n", num_bytes); /*Aloca ...
.text .file "cuda-code-1.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq %rbx .cfi_def_cfa_offset 32 subq $16, %rsp .cf...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
e39f58e1e63581c2544cc43fbbc27229c792e072
// // include files // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> //#include <cutil_inline.h> #include "cuda_runtime.h" //#include "MyFirst_kernel.cu" __global__ void my_first_kernel(float *x) { // Uncomment line below and define integer "tid" as global index to vector "x" int tid ...
.file "tmpxft_002ce494_00000000-6_MyFirst.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUn...
code for sm_89 Function : _Z15my_first_kernelPf .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 */ ...
// // include files // #include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> //#include <cutil_inline.h> #include "hip/hip_runtime.h" //#include "MyFirst_kernel.cu" __global__ void my_first_kernel(float *x) { // Uncomment line below and define integer "tid" as global index to vector "x" int t...
.text .file "MyFirst.hip" .globl _Z30__device_stub__my_first_kernelPf # -- Begin function _Z30__device_stub__my_first_kernelPf .type _Z30__device_stub__my_first_kernelPf,@function _Z30__device_stub__my_first_kernelPf: # @_Z30__device_stub__my_first_kernelPf .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15my_first_kernelPf ; -- Begin function _Z15my_first_kernelPf .globl _Z15my_first_kernelPf .p2align 8 .type _Z15my_first_kernelPf,@function _Z15my_first_kernelPf: ; @_Z15my_first_kernelPf ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1...
ad52c7c524f98cb6b96a442ffb3d3ba209bc5b0a
#include "includes.h" __global__ void kernel_test7_write(char* _ptr, char* end_ptr, char* _start_ptr, unsigned int* err) { unsigned int i; unsigned int* ptr = (unsigned int*) (_ptr + blockIdx.x*BLOCKSIZE); unsigned int* start_ptr = (unsigned int*) _start_ptr; if (ptr >= (unsigned int*) end_ptr) { return; } for (i = ...
.file "tmpxft_002ae93d_00000000-6_kernel_test7_write.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _Z...
code for sm_89 Function : _Z18kernel_test7_writePcS_S_Pj .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 "includes.h" __global__ void kernel_test7_write(char* _ptr, char* end_ptr, char* _start_ptr, unsigned int* err) { unsigned int i; unsigned int* ptr = (unsigned int*) (_ptr + blockIdx.x*BLOCKSIZE); unsigned int* start_ptr = (unsigned int*) _start_ptr; if (ptr >= (unsigned int*) en...
.text .file "kernel_test7_write.hip" .globl _Z33__device_stub__kernel_test7_writePcS_S_Pj # -- Begin function _Z33__device_stub__kernel_test7_writePcS_S_Pj .type _Z33__device_stub__kernel_test7_writePcS_S_Pj,@function _Z33__device_stub__kernel_test7_writePcS_S_Pj: # @_Z33__device_stub__kernel_test7_writePcS_S_Pj ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18kernel_test7_writePcS_S_Pj ; -- Begin function _Z18kernel_test7_writePcS_S_Pj .globl _Z18kernel_test7_writePcS_S_Pj .p2align 8 .type _Z18kernel_test7_writePcS_S_Pj,@function _Z18kernel_test7_writePcS_S_Pj: ; @_Z18kernel_test7_writePcS_S_Pj ;...
87420c2a21f283bb6fd9f368dd862d8d45ed967f
/** * @file CUDA_Hardware.cu * @brief Report essential characteristics of GPU. * * */ #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char** argv) { int count = 0; cudaGetDeviceCount(&count); printf("Report on GPU configuration (GPUs: %i).\n", count); fo...
.file "tmpxft_00353890_00000000-6_CUDA_Hardware.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ...
code for sm_89
/** * @file CUDA_Hardware.cu * @brief Report essential characteristics of GPU. * * */ #include <hip/hip_runtime.h> #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; int main(int argc, char** argv) { int count = 0; hipGetDeviceCount(&count); printf("Report on GPU configuration...
.text .file "CUDA_Hardware.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl main # -- Begin function main .type main,@function main: ...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
c133e78bef3e5fea183cc72761172c170246705f
__device__ int get(int x, int y,int width){ return y * width +x; } __device__ int normeValue(int x, int width){ if(x < 0) //-1 return width - 1; if(x == width) return 0; return x; } __device__ int* neighborsIndexes(int i, int j, int width, int height){ int dir[8]; dir[0] = get(normeValue(i+1,width), j, wid...
.file "tmpxft_00240af6_00000000-6_DiffusionEvaporation_2D.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2014: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2014: .si...
code for sm_89 Function : DIFFUSION_UPDATE_THEN_EVAPORATION .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 */ ...
#include <hip/hip_runtime.h> __device__ int get(int x, int y,int width){ return y * width +x; } __device__ int normeValue(int x, int width){ if(x < 0) //-1 return width - 1; if(x == width) return 0; return x; } __device__ int* neighborsIndexes(int i, int j, int width, int height){ int dir[8]; dir[0] = get...
.text .file "DiffusionEvaporation_2D.hip" .globl __device_stub__DIFFUSION_TO_TMP # -- Begin function __device_stub__DIFFUSION_TO_TMP .type __device_stub__DIFFUSION_TO_TMP,@function __device_stub__DIFFUSION_TO_TMP: # @__device_stub__DIFFUSION_TO_TMP .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected DIFFUSION_TO_TMP ; -- Begin function DIFFUSION_TO_TMP .globl DIFFUSION_TO_TMP .p2align 8 .type DIFFUSION_TO_TMP,@function DIFFUSION_TO_TMP: ; @DIFFUSION_TO_TMP ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_b64 ...
5a179d72b26f74a00111b524659dcce59fcf1d82
#include <iostream> #include <complex> #include <cmath> #include <iomanip> #include <string> #include <fstream> using namespace std; __global__ void z_funct(double * d_mat_re, double * d_mat_im, int *d_img, int nb_ite) { int i = blockDim.x * blockIdx.x + threadIdx.x; double c_re = d_mat_re[i]; double c_im = ...
.file "tmpxft_0029c254_00000000-6_cu_mandelbrot.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4251: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ...
code for sm_89 Function : _Z7z_functPdS_Pii .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 <iostream> #include <complex> #include <cmath> #include <iomanip> #include <string> #include <fstream> using namespace std; __global__ void z_funct(double * d_mat_re, double * d_mat_im, int *d_img, int nb_ite) { int i = blockDim.x * blockIdx.x + threadIdx.x; double c_re =...
.text .file "cu_mandelbrot.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z22__device_stub__z_functPdS_Pii # -- Begin function _Z22__device_stub__z_functPdS_Pi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7z_functPdS_Pii ; -- Begin function _Z7z_functPdS_Pii .globl _Z7z_functPdS_Pii .p2align 8 .type _Z7z_functPdS_Pii,@function _Z7z_functPdS_Pii: ; @_Z7z_functPdS_Pii ; %bb.0: s_clause 0x3 s_load_b32 s3, s[0:1], 0x2c s_load_...
2bdb459dfe4c97c246d8eab93d573342aa6e271d
#include <stdio.h> #include <stdint.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <thrust/sort.h> #include <algorithm> #define CHECK(call) \ { \ const cud...
.file "tmpxft_0033bf82_00000000-6_Baseline_4_v7.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS29DeviceRadixSortOnesweepKernelINS0_21DeviceRadixSortPolicyIjNS0_8NullTypeEyE9Policy900ELb0EjS3_yiiNS0_6detail21identity_decomposer_tEEEvPT5_S9_PT3_PKSA_PT1_PKSE_PT2_PKSI_T4_iiT6_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_V...
#include <hip/hip_runtime.h> #include <stdio.h> #include <stdint.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <thrust/sort.h> #include <algorithm> #define CHECK(call) \ { ...
.text .file "Baseline_4_v7.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z12sortByThrustPKjiPj # -- Begin function _Z12sortByThrustPKjiPj .type _Z12...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z16computeLocalHistPjiPiii ; -- Begin function _Z16computeLocalHistPjiPiii .globl _Z16computeLocalHistPjiPiii .p2align 8 .type _Z16computeLocalHistPjiPiii,@function _Z16computeLocalHistPjiPiii: ; @_Z16computeLocalHistPjiPiii ; %bb.0: s_clau...
954377c5b9a2ae78ff75160865a623c47e58cc80
#include "includes.h" __global__ void set_kernel(const int n, const float alpha, float *y) { for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < (n); i += blockDim.x * gridDim.x) { y[i] = alpha; } }
.file "tmpxft_00281177_00000000-6_set_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cud...
code for sm_89 Function : _Z10set_kernelifPf .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void set_kernel(const int n, const float alpha, float *y) { for (int i = blockIdx.x * blockDim.x + threadIdx.x; i < (n); i += blockDim.x * gridDim.x) { y[i] = alpha; } }
.text .file "set_kernel.hip" .globl _Z25__device_stub__set_kernelifPf # -- Begin function _Z25__device_stub__set_kernelifPf .type _Z25__device_stub__set_kernelifPf,@function _Z25__device_stub__set_kernelifPf: # @_Z25__device_stub__set_kernelifPf .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pus...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10set_kernelifPf ; -- Begin function _Z10set_kernelifPf .globl _Z10set_kernelifPf .p2align 8 .type _Z10set_kernelifPf,@function _Z10set_kernelifPf: ; @_Z10set_kernelifPf ; %bb.0: s_clause 0x1 s_load_b32 s6, s[0:1], 0x1c s_l...
7c2f459fe14d09f14a1ace166ae201b4a267f94b
#include <stdio.h> #include <cuda.h> typedef unsigned char u8; typedef struct cell { u8 state; size_t* neighbor; u8 neighborSize; } cell; typedef enum type {life, koNeiman, koNeimanMur, koMur} type; u8*** hStates; size_t hX, hY, hZ; type hT; __device__ u8* dStates; __device__ size_t *pdX, *pdY, *pdZ; _...
.file "tmpxft_002ccd1b_00000000-6_\321\201ellular_auto.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2041: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2041: .size ...
code for sm_89 Function : _Z24transformCellsIntoStatesv .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 <stdio.h> #include <hip/hip_runtime.h> typedef unsigned char u8; typedef struct cell { u8 state; size_t* neighbor; u8 neighborSize; } cell; typedef enum type {life, koNeiman, koNeimanMur, koMur} type; u8*** hStates; size_t hX, hY, hZ; type hT; __device__ u8* dStates; __device__ size_t *pdX, *p...
.text .file "\321\201ellular_auto.hip" .globl _Z9readInputPKc # -- Begin function _Z9readInputPKc .type _Z9readInputPKc,@function _Z9readInputPKc: # @_Z9readInputPKc .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z24transformStatesIntoCellsv ; -- Begin function _Z24transformStatesIntoCellsv .globl _Z24transformStatesIntoCellsv .p2align 8 .type _Z24transformStatesIntoCellsv,@function _Z24transformStatesIntoCellsv: ; @_Z24transformStatesIntoCellsv ; %bb....
31c934b872ec330cae2b98bd0ee0c8082e680fdb
#include "includes.h" __global__ void reduction_kernel_2(float *g_out, float *g_in, unsigned int size) { unsigned int idx_x = blockIdx.x * blockDim.x + threadIdx.x; extern __shared__ float s_data[]; s_data[threadIdx.x] = (idx_x < size) ? g_in[idx_x] : 0.f; __syncthreads(); // do reduction // sequential addressing f...
.file "tmpxft_0027ff05_00000000-6_reduction_kernel_2.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _Z...
code for sm_89 Function : _Z18reduction_kernel_2PfS_j .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 "includes.h" __global__ void reduction_kernel_2(float *g_out, float *g_in, unsigned int size) { unsigned int idx_x = blockIdx.x * blockDim.x + threadIdx.x; extern __shared__ float s_data[]; s_data[threadIdx.x] = (idx_x < size) ? g_in[idx_x] : 0.f; __syncthreads(); // do reduct...
.text .file "reduction_kernel_2.hip" .globl _Z33__device_stub__reduction_kernel_2PfS_j # -- Begin function _Z33__device_stub__reduction_kernel_2PfS_j .type _Z33__device_stub__reduction_kernel_2PfS_j,@function _Z33__device_stub__reduction_kernel_2PfS_j: # @_Z33__device_stub__reduction_kernel_2PfS_j .cfi_startproc #...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18reduction_kernel_2PfS_j ; -- Begin function _Z18reduction_kernel_2PfS_j .globl _Z18reduction_kernel_2PfS_j .p2align 8 .type _Z18reduction_kernel_2PfS_j,@function _Z18reduction_kernel_2PfS_j: ; @_Z18reduction_kernel_2PfS_j ; %bb.0: s_clau...
2bef8684b3ddafa4707a612fcda6d539518d926f
#include <cstdio> #include <random> #include <string.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <algorithm> #include <chrono> #include <iostream> #include <limits> #include <cctype> __device__ int cost_index[16] = { 1,-1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,1 }; #define LENGTH_REFERENCE 40000 ...
.file "tmpxft_00392bf2_00000000-6_cuda_inline_nw.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB5062: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ...
code for sm_89 Function : _Z25calculate_cost_per_offsetPiPcS0_i .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 <cstdio> #include <random> #include <string.h> #include <stdlib.h> #include <time.h> #include <math.h> #include <algorithm> #include <chrono> #include <iostream> #include <limits> #include <cctype> __device__ int cost_index[16] = { 1,-1,-1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,1 }; #...
.text .file "cuda_inline_nw.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z10get1Dindexii # -- Begin function _Z10get1Dindexii .type _Z10get1D...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18initIndexes_devicev ; -- Begin function _Z18initIndexes_devicev .globl _Z18initIndexes_devicev .p2align 8 .type _Z18initIndexes_devicev,@function _Z18initIndexes_devicev: ; @_Z18initIndexes_devicev ; %bb.0: s_getpc_b64 s[0:1] s_add_...
756f0fac3be3853112ed9526b9b88afca59b771f
#include <stdio.h> #include <time.h> #include <unistd.h> #include <stdlib.h> #include <math.h> /* Instruções COMPILAR --> nvcc 2DstencilGPUSharedMemoryBlankBorderTimeSpaceSharingOpencvKarma.cu -o go `pkg-config --cflags --libs opencv` -w EXECUTAR --> ./go DOMAIN_DIMS STENCIL_ORDER SPACE_TIME_BLOCK_TIMES BLOCK_DIM_X ...
.file "tmpxft_003ae415_00000000-6_2DstencilGPUSharedMemoryKarmaSpaceTimeBlocking.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3783: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jm...
code for sm_89 Function : _Z17_2Dstencil_globalPfS_S_ .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 <time.h> #include <unistd.h> #include <stdlib.h> #include <math.h> /* Instruções COMPILAR --> nvcc 2DstencilGPUSharedMemoryBlankBorderTimeSpaceSharingOpencvKarma.cu -o go `pkg-config --cflags --libs opencv` -w EXECUTAR --> ./go DOMAIN_DIMS STENCIL_ORDER SPACE...
.text .file "2DstencilGPUSharedMemoryKarmaSpaceTimeBlocking.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z32__device_stub___2Dstencil_globalPfS_S_ # -- Begin...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17_2Dstencil_globalPfS_S_ ; -- Begin function _Z17_2Dstencil_globalPfS_S_ .globl _Z17_2Dstencil_globalPfS_S_ .p2align 8 .type _Z17_2Dstencil_globalPfS_S_,@function _Z17_2Dstencil_globalPfS_S_: ; @_Z17_2Dstencil_globalPfS_S_ ; %bb.0: s_clau...
5daf718abf0067c82df17549f79dd9fdd1390496
#include "includes.h" __global__ void transposedMatrixKernel(int* d_a, int* d_b) { int i = threadIdx.x + blockDim.x * blockIdx.x; int j = threadIdx.y + blockDim.y * blockIdx.y; d_b[i * N + j] = d_a[j * N + i]; }
.file "tmpxft_002f4ea7_00000000-6_transposedMatrixKernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .siz...
code for sm_89 Function : _Z22transposedMatrixKernelPiS_ .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void transposedMatrixKernel(int* d_a, int* d_b) { int i = threadIdx.x + blockDim.x * blockIdx.x; int j = threadIdx.y + blockDim.y * blockIdx.y; d_b[i * N + j] = d_a[j * N + i]; }
.text .file "transposedMatrixKernel.hip" .globl _Z37__device_stub__transposedMatrixKernelPiS_ # -- Begin function _Z37__device_stub__transposedMatrixKernelPiS_ .type _Z37__device_stub__transposedMatrixKernelPiS_,@function _Z37__device_stub__transposedMatrixKernelPiS_: # @_Z37__device_stub__transposedMatrixKernelPiS...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z22transposedMatrixKernelPiS_ ; -- Begin function _Z22transposedMatrixKernelPiS_ .globl _Z22transposedMatrixKernelPiS_ .p2align 8 .type _Z22transposedMatrixKernelPiS_,@function _Z22transposedMatrixKernelPiS_: ; @_Z22transposedMatrixKernelPiS_ ;...
fb8220e4ce28af4af7fad8baff64ab312c3fb3dc
#include <iostream> #include <stdio.h> #include <stdlib.h> #include <cuda.h> #include <cuda_runtime.h> #include <vector> #include <algorithm> #define num 25 __global__ void gpuAdd(int *d_a, int *d_b, int* d_c, int N=num) { printf("%d -- ", threadIdx.x); int tid = blockIdx.x*blockDim.x + threadIdx.x; int sum=0; whi...
.file "tmpxft_00336511_00000000-6_6_vec_add.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4256: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi...
code for sm_89 Function : _Z6gpuAddPiS_S_i .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 <iostream> #include <stdio.h> #include <stdlib.h> #include <hip/hip_runtime.h> #include <vector> #include <algorithm> #define num 25 __global__ void gpuAdd(int *d_a, int *d_b, int* d_c, int N=num) { printf("%d -- ", threadIdx.x); int tid = blockIdx.x*blockDim.x + threadIdx.x; int sum=0; while(tid < N) {...
.text .file "6_vec_add.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z21__device_stub__gpuAddPiS_S_i # -- Begin function _Z21__device_stub__gpuAddPiS_S_i .ty...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .p2align 2 ; -- Begin function __ockl_printf_append_string_n .type __ockl_printf_append_string_n,@function __ockl_printf_append_string_n: ; @__ockl_printf_append_string_n ; %bb.0: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) v_dua...
7fb8681294c0dfb8a6d22489f307833358ca4e3e
#include "includes.h" //header files included //declaring the tile width and height //for tile based matrix multiplication #define TILE_WIDTH 32 #define TILE_HEIGHT 32 //Namespace for std using namespace std; //structure declaration for storing rows and columns for a matrix struct matrix{ unsigned int rows; //storin...
.file "tmpxft_0027153e_00000000-6_matrix_mult.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cu...
code for sm_89 Function : _Z11matrix_multPfjjS_jjS_ .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" //header files included //declaring the tile width and height //for tile based matrix multiplication #define TILE_WIDTH 32 #define TILE_HEIGHT 32 //Namespace for std using namespace std; //structure declaration for storing rows and columns for a matrix struct matri...
.text .file "matrix_mult.hip" .globl _Z26__device_stub__matrix_multPfjjS_jjS_ # -- Begin function _Z26__device_stub__matrix_multPfjjS_jjS_ .type _Z26__device_stub__matrix_multPfjjS_jjS_,@function _Z26__device_stub__matrix_multPfjjS_jjS_: # @_Z26__device_stub__matrix_multPfjjS_jjS_ .cfi_startproc # %bb.0: pushq %r...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11matrix_multPfjjS_jjS_ ; -- Begin function _Z11matrix_multPfjjS_jjS_ .globl _Z11matrix_multPfjjS_jjS_ .p2align 8 .type _Z11matrix_multPfjjS_jjS_,@function _Z11matrix_multPfjjS_jjS_: ; @_Z11matrix_multPfjjS_jjS_ ; %bb.0: s_clause 0x2 s_...
d0c3b66951d83902dedac5a2e1129c99ff0269ba
#include <stdio.h> int main(void) { int dev = 0; cudaSetDevice(dev); int driverVersion = 0, runtimeVersion = 0; cudaDeviceProp deviceProp; cudaGetDeviceProperties( &deviceProp, dev ); printf("Device %d; \"%s\"\n", dev, deviceProp.name); cudaDriverGetVersion( &driverVersion ); cudaRu...
.file "tmpxft_002f2c9d_00000000-6_deviceData.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__cud...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> int main(void) { int dev = 0; hipSetDevice(dev); int driverVersion = 0, runtimeVersion = 0; hipDeviceProp_t deviceProp; hipGetDeviceProperties( &deviceProp, dev ); printf("Device %d; \"%s\"\n", dev, deviceProp.name); hipDriverGetVersion( ...
.text .file "deviceData.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function main .LCPI0_0: .quad 0x3e10000000000000 # double 9.3132257461547852E-10 .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 .LCPI0_1: .long 0x3a83126f ...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
ca3616b85595f0c75255a060e49d8f1f74d39cf5
__device__ void saxpy( float a, float *b, float *c ) { c[0] += a*b[0]; c[1] += a*b[1]; c[2] += a*b[2]; c[3] += a*b[3]; c[4] += a*b[4]; c[5] += a*b[5]; c[6] += a*b[6]; c[7] += a*b[7]; c[8] += a*b[8]; c[9] += a*b[9]; c[10] += a*b[10]; c[11] += a*b[11]; c[12] += a*b[12]; c[13] += a*b[13]; c[14] += a*b[14]; ...
.file "tmpxft_002454e9_00000000-6_sgemmN.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnr...
code for sm_89 Function : sgemmNN .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 */ ...
#include <hip/hip_runtime.h> __device__ void saxpy( float a, float *b, float *c ) { c[0] += a*b[0]; c[1] += a*b[1]; c[2] += a*b[2]; c[3] += a*b[3]; c[4] += a*b[4]; c[5] += a*b[5]; c[6] += a*b[6]; c[7] += a*b[7]; c[8] += a*b[8]; c[9] += a*b[9]; c[10] += a*b[10]; c[11] += a*b[11]; c[12] += a*b[12]; c[13] +...
.text .file "sgemmN.hip" .globl __device_stub__sgemmNT # -- Begin function __device_stub__sgemmNT .type __device_stub__sgemmNT,@function __device_stub__sgemmNT: # @__device_stub__sgemmNT .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected sgemmNT ; -- Begin function sgemmNT .globl sgemmNT .p2align 8 .type sgemmNT,@function sgemmNT: ; @sgemmNT ; %bb.0: v_bfe_u32 v15, v0, 10, 10 s_clause 0x1 s_load_b32 s16, s[0:1], 0x8 s_load_b32 s12, s[0:...
935e08bcc6606b5626ea25c1937e26710326661d
#include <stdio.h> #include <stdlib.h> #include <iostream> #define CSC(call) \ do { \ cudaError_t res = call; \ if (res != cudaSuccess) { \ fprintf(stderr, "ERROR in %s:%d. Message: %s\n", \ __FILE__, __...
.file "tmpxft_0031f038_00000000-6_cpu.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3639: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endpr...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <iostream> #define CSC(call) \ do { \ hipError_t res = call; \ if (res != hipSuccess) { \ fprintf(stderr, "ERROR in %s:%d. Message: %s\n",...
.text .file "cpu.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z1fP15HIP_vector_typeIhLj4EES1_iiii # -- Begin function _Z1fP15HIP_vector_typeIhLj4EES1_iiii ....
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
1b375e3ba8b1c922e52998630d87ed96769c69b9
#include<iostream> #include<fstream> #include<time.h> #include<vector> #include<iterator> #include<cuda.h> #include<stdio.h> #define SIZE 120000000 #define max_threads 80 #define normalizeNum 1000 /* Define num elements of each bucket */ #define range 100000 #define bucketLength (SIZE/range * 2) /* Each block sorts o...
.file "tmpxft_001fe585_00000000-6_gpu_parallel_sort.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4169: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@P...
code for sm_89 Function : _Z14bucketSortCUDAPdS_l .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<iostream> #include<fstream> #include<time.h> #include<vector> #include<iterator> #include<hip/hip_runtime.h> #include<stdio.h> #define SIZE 120000000 #define max_threads 80 #define normalizeNum 1000 /* Define num elements of each bucket */ #define range 100000 #define bucketLength (SIZE/range * 2) /* Each bl...
.text .file "gpu_parallel_sort.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .section .text.startup,"ax",@progbits .type __cxx_global_array_dtor,@function # -- Begin...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14bucketSortCUDAPdS_l ; -- Begin function _Z14bucketSortCUDAPdS_l .globl _Z14bucketSortCUDAPdS_l .p2align 8 .type _Z14bucketSortCUDAPdS_l,@function _Z14bucketSortCUDAPdS_l: ; @_Z14bucketSortCUDAPdS_l ; %bb.0: s_load_b32 s6, s[0:1], 0x2...
c2d37b9900e04d62a093b2b4bdf84187bf93ec58
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <math.h> #include <string> #include <locale> using namespace std; /*****************************************************************************/ __global__ void calcularC (const float * A, const float * B, float * C, const int size) { uint block_...
.file "tmpxft_0034e408_00000000-6_transformacion.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3827: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ...
code for sm_89 Function : _Z11calcularMaxPKfPfi .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 <iostream> #include <math.h> #include <string> #include <locale> using namespace std; /*****************************************************************************/ __global__ void calcularC (const float * A, const float * B, float * C, c...
.text .file "transformacion.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__calcularCPKfS0_Pfi # -- Begin function _Z24__device_stub__calcular...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9calcularCPKfS0_Pfi ; -- Begin function _Z9calcularCPKfS0_Pfi .globl _Z9calcularCPKfS0_Pfi .p2align 8 .type _Z9calcularCPKfS0_Pfi,@function _Z9calcularCPKfS0_Pfi: ; @_Z9calcularCPKfS0_Pfi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1...
ab70f26c23a336ebacd1fc8ef9d73118a79867e3
#include <cuda.h> #include <stdio.h> #define iMin(a, b) (a<b?a:b) const int N = 17*1024; const int threadsPerBlock = 256; const int blocksPerGrid = iMin(16, (N+threadsPerBlock-1)/threadsPerBlock); // kernel code for adding two vector elements __global__ void vecDot(float* a, float* b, float* c) { __shared__ float c...
.file "tmpxft_0034b6b7_00000000-6_vecdot.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z6vecDotPfS_S_ .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> #define iMin(a, b) (a<b?a:b) const int N = 17*1024; const int threadsPerBlock = 256; const int blocksPerGrid = iMin(16, (N+threadsPerBlock-1)/threadsPerBlock); // kernel code for adding two vector elements __global__ void vecDot(float* a, float* b, float* c) { __share...
.text .file "vecdot.hip" .globl _Z21__device_stub__vecDotPfS_S_ # -- Begin function _Z21__device_stub__vecDotPfS_S_ .type _Z21__device_stub__vecDotPfS_S_,@function _Z21__device_stub__vecDotPfS_S_: # @_Z21__device_stub__vecDotPfS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6vecDotPfS_S_ ; -- Begin function _Z6vecDotPfS_S_ .globl _Z6vecDotPfS_S_ .p2align 8 .type _Z6vecDotPfS_S_,@function _Z6vecDotPfS_S_: ; @_Z6vecDotPfS_S_ ; %bb.0: s_clause 0x2 s_load_b32 s3, s[0:1], 0x24 s_load_b128 s[4...
78a0fe6eafb274e0097a7302a7a3afde07599b3c
#include <stdio.h> float uniform(float low, float high) { return low + (static_cast<float>(rand())/RAND_MAX)*(high - low); } int main() { int size = static_cast<int>(1 << 25); float* host_arr = (float*) malloc(size*sizeof(float)); for(size_t i = 0; i < size; ++i) { host_arr[i] = uniform(0.0,...
.file "tmpxft_002d7b8f_00000000-6_repro.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__cudaUnre...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> float uniform(float low, float high) { return low + (static_cast<float>(rand())/RAND_MAX)*(high - low); } int main() { int size = static_cast<int>(1 << 25); float* host_arr = (float*) malloc(size*sizeof(float)); for(size_t i = 0; i < size; ++i) { ...
.text .file "repro.hip" .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 # -- Begin function _Z7uniformff .LCPI0_0: .long 0x30000000 # float 4.65661287E-10 .text .globl _Z7uniformff .type _Z7uniformff,@function _Z7uniformff: # @_Z7uni...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
6745f1644efc35cffb5b0e75ef5738b7363fbce6
#include <stdio.h> __global__ void use_local_memory_GPU(float in) { float f; f = in; } __global__ void use_global_memory_GPU(float *array) { // array is a pointer into global memory on the device array[threadIdx.x] = 2.0f * (float) threadIdx.x; } __global__ void use_shared_memory_GPU(float *array) {...
.file "tmpxft_0030cc7b_00000000-6_shared_memory.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__...
code for sm_89 Function : _Z21use_shared_memory_GPUPf .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> __global__ void use_local_memory_GPU(float in) { float f; f = in; } __global__ void use_global_memory_GPU(float *array) { // array is a pointer into global memory on the device array[threadIdx.x] = 2.0f * (float) threadIdx.x; } __global__ void use_sha...
.text .file "shared_memory.hip" .globl _Z35__device_stub__use_local_memory_GPUf # -- Begin function _Z35__device_stub__use_local_memory_GPUf .type _Z35__device_stub__use_local_memory_GPUf,@function _Z35__device_stub__use_local_memory_GPUf: # @_Z35__device_stub__use_local_memory_GPUf .cfi_startproc # %bb.0: pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20use_local_memory_GPUf ; -- Begin function _Z20use_local_memory_GPUf .globl _Z20use_local_memory_GPUf .p2align 8 .type _Z20use_local_memory_GPUf,@function _Z20use_local_memory_GPUf: ; @_Z20use_local_memory_GPUf ; %bb.0: s_endpgm .secti...
9fb293e4c7efea5ab811214a25c8b4b99b17a2a3
extern "C" #define BLOCK_WIDTH 16 #define BLOCK_HEIGHT 16 __global__ void filter(int *Input_Image, int *Output_Image, int Image_Width, int Image_Height) { const int tx_l = threadIdx.x; // --- Local thread x index const int ty_l = threadIdx.y; // --- Local t...
.file "tmpxft_00376394_00000000-6_sharedFilter.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89 Function : filter .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> extern "C" #define BLOCK_WIDTH 16 #define BLOCK_HEIGHT 16 __global__ void filter(int *Input_Image, int *Output_Image, int Image_Width, int Image_Height) { const int tx_l = threadIdx.x; // --- Local thread x index const int ty_l = threadIdx.y; ...
.text .file "sharedFilter.hip" .globl __device_stub__filter # -- Begin function __device_stub__filter .type __device_stub__filter,@function __device_stub__filter: # @__device_stub__filter .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pus...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected filter ; -- Begin function filter .globl filter .p2align 8 .type filter,@function filter: ; @filter ; %bb.0: v_dual_mov_b32 v2, 0 :: v_dual_and_b32 v1, 0x3ff, v0 s_delay_alu instid0(VALU_DEP_1) | instsk...
ef6b8e787c254af6212b3a4ade5ec2661bfe5f68
#include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <assert.h> #include <math.h> /* Returns the current time in miliseconds. */ double getMilitime(){ struct timeval ret; gettimeofday(&ret, NULL); return ((ret.tv_sec ) * 1000000u + ret.tv_usec) / 1.e6; } #define TYPE doubl...
.file "tmpxft_0030fc14_00000000-6_basicReduction.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26_...
code for sm_89 Function : _Z11PrintKernelPd .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 <sys/time.h> #include <assert.h> #include <math.h> /* Returns the current time in miliseconds. */ double getMilitime(){ struct timeval ret; gettimeofday(&ret, NULL); return ((ret.tv_sec ) * 1000000u + ret.tv_usec) / ...
.text .file "basicReduction.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z11getMilitimev .LCPI0_0: .quad 0x412e848000000000 # double 1.0E+6 .text .globl _Z11getMilitimev .type _Z11getMilitimev,@function _Z11getMilitimev: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15ReductionKernelPdS_l ; -- Begin function _Z15ReductionKernelPdS_l .globl _Z15ReductionKernelPdS_l .p2align 8 .type _Z15ReductionKernelPdS_l,@function _Z15ReductionKernelPdS_l: ; @_Z15ReductionKernelPdS_l ; %bb.0: s_clause 0x1 s_load_...
b3163a4b599163a297a02cb4663fcae47025be6c
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <cuda.h> #include <cuda_runtime.h> #include <cuda.h> #include <device_launch_parameters.h> #define LIST_SIZE 100000 extern "C" __device__ long long instCountList[LIST_SIZE]; void bambooLogRecordOff(){ } void bambooLogKernelBegin(...
.file "tmpxft_00273700_00000000-6_record_data.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__cu...
code for sm_89
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> #include <hip/hip_runtime.h> #define LIST_SIZE 100000 extern "C" __device__ long long instCountList[LIST_SIZE]; void bambooLogRecordOff(){ } void bambooLogKernelBegin(int i) { } void bambooLogKernelEnd() { #ifdef KERNELTRACE hipDev...
.text .file "record_data.hip" .globl _Z18bambooLogRecordOffv # -- Begin function _Z18bambooLogRecordOffv .type _Z18bambooLogRecordOffv,@function _Z18bambooLogRecordOffv: # @_Z18bambooLogRecordOffv .cfi_startproc # %bb.0: retq .Lfunc_end0: .size _Z18bambooLogRecordOffv, .Lfunc_end0-_Z18bamb...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
1ccd5e84b3581d50e1efa1d9561638b451865acc
#include "includes.h" __global__ void swan_fast_fill( uint4 *ptr, int len ) { int idx = threadIdx.x + blockDim.x * blockIdx.x; if( idx<len) { ptr[idx] = make_uint4( 0,0,0,0 ); } }
.file "tmpxft_002ccd2b_00000000-6_swan_fast_fill.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26_...
code for sm_89 Function : _Z14swan_fast_fillP5uint4i .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void swan_fast_fill( uint4 *ptr, int len ) { int idx = threadIdx.x + blockDim.x * blockIdx.x; if( idx<len) { ptr[idx] = make_uint4( 0,0,0,0 ); } }
.text .file "swan_fast_fill.hip" .globl _Z29__device_stub__swan_fast_fillP15HIP_vector_typeIjLj4EEi # -- Begin function _Z29__device_stub__swan_fast_fillP15HIP_vector_typeIjLj4EEi .type _Z29__device_stub__swan_fast_fillP15HIP_vector_typeIjLj4EEi,@function _Z29__device_stub__swan_fast_fillP15HIP_vector_typeIjLj4EEi:...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14swan_fast_fillP15HIP_vector_typeIjLj4EEi ; -- Begin function _Z14swan_fast_fillP15HIP_vector_typeIjLj4EEi .globl _Z14swan_fast_fillP15HIP_vector_typeIjLj4EEi .p2align 8 .type _Z14swan_fast_fillP15HIP_vector_typeIjLj4EEi,@function _Z14swan_fast_fillP...
03c25439b04faf2c572c5dde0cbdc8ae31ab2e3b
/***************************************************************************//** * \file LHS2.cu * \author Christopher Minar (minarc@oregonstate.edu) * \brief kernels to generate the left hand side for the poission solve */ #include "LHS2.h" namespace kernels { /* * calculates the boundary terms for the left han...
.file "tmpxft_0021a994_00000000-6_LHS2.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnreg...
code for sm_89 Function : _ZN7kernels15LHS2_mid_nobodyEPiS0_PdS1_S1_iid .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 */ ...
/***************************************************************************//** * \file LHS2.cu * \author Christopher Minar (minarc@oregonstate.edu) * \brief kernels to generate the left hand side for the poission solve */ #include <hip/hip_runtime.h> #include "LHS2.h" namespace kernels { /* * calculates the b...
.text .file "LHS2.hip" .globl _ZN7kernels22__device_stub__LHS2_BCEPiS0_PdS1_S1_iid # -- Begin function _ZN7kernels22__device_stub__LHS2_BCEPiS0_PdS1_S1_iid .type _ZN7kernels22__device_stub__LHS2_BCEPiS0_PdS1_S1_iid,@function _ZN7kernels22__device_stub__LHS2_BCEPiS0_PdS1_S1_iid: # @_ZN7kernels22__device_stub__LHS2_B...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _ZN7kernels7LHS2_BCEPiS0_PdS1_S1_iid ; -- Begin function _ZN7kernels7LHS2_BCEPiS0_PdS1_S1_iid .globl _ZN7kernels7LHS2_BCEPiS0_PdS1_S1_iid .p2align 8 .type _ZN7kernels7LHS2_BCEPiS0_PdS1_S1_iid,@function _ZN7kernels7LHS2_BCEPiS0_PdS1_S1_iid: ; @_ZN7kern...
50c92d819af87d8d2d1e53d65cbecfed3860fe97
//Author: Xinrea //Date: 2018/7/5 //Basic Sample of using CUDA #include <cuda_runtime.h> #include <device_launch_parameters.h> #include <cstdio> cudaError_t addData(int size,int a[],int b[],int c[]); __global__ void addKernel(int dev[],int size){ int i = threadIdx.x; dev[2*size+i] = dev[i]+dev[size+i]; } in...
.file "tmpxft_00388e90_00000000-6_CUDA_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__cuda...
code for sm_89 Function : _Z9addKernelPii .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 */ ...
//Author: Xinrea //Date: 2018/7/5 //Basic Sample of using CUDA #include <hip/hip_runtime.h> #include <cstdio> hipError_t addData(int size,int a[],int b[],int c[]); __global__ void addKernel(int dev[],int size){ int i = threadIdx.x; dev[2*size+i] = dev[i]+dev[size+i]; } int main(int argc, char const *argv[]...
.text .file "CUDA_test.hip" .globl _Z24__device_stub__addKernelPii # -- Begin function _Z24__device_stub__addKernelPii .type _Z24__device_stub__addKernelPii,@function _Z24__device_stub__addKernelPii: # @_Z24__device_stub__addKernelPii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9addKernelPii ; -- Begin function _Z9addKernelPii .globl _Z9addKernelPii .p2align 8 .type _Z9addKernelPii,@function _Z9addKernelPii: ; @_Z9addKernelPii ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x8 s_load_b64 s[0:1...
20d4772fae7590e358ea288dd46b2265e9b20521
// addNext.cu // Second program from Dr Dobbs tutorial. http://drdobbs.com/parallel/207402986 #include <cuda.h> #include <stdio.h> #include <assert.h> // Host kernel = increment each element by 1 void incOnHost(float *a, int N) { int i; for (i=1; i<N; i++) { a[i] = a[i] + a[i-1]; } } // Devi...
.file "tmpxft_00278b06_00000000-6_addNext.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__cudaUn...
code for sm_89 Function : _Z11incOnDevicePfi .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 */ ...
// addNext.cu // Second program from Dr Dobbs tutorial. http://drdobbs.com/parallel/207402986 #include <hip/hip_runtime.h> #include <stdio.h> #include <assert.h> // Host kernel = increment each element by 1 void incOnHost(float *a, int N) { int i; for (i=1; i<N; i++) { a[i] = a[i] + a[i-1]; }...
.text .file "addNext.hip" .globl _Z9incOnHostPfi # -- Begin function _Z9incOnHostPfi .type _Z9incOnHostPfi,@function _Z9incOnHostPfi: # @_Z9incOnHostPfi .cfi_startproc # %bb.0: cmpl $2, %esi jl .LBB0_3 # %bb.1: # %.lr.ph.preheader movl %esi, ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11incOnDevicePfi ; -- Begin function _Z11incOnDevicePfi .globl _Z11incOnDevicePfi .p2align 8 .type _Z11incOnDevicePfi,@function _Z11incOnDevicePfi: ; @_Z11incOnDevicePfi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x1c s_l...
d04531bfe9656cf059e5e6da164da508210f5d30
extern "C" __global__ void kernel_dummy(float *ptr) { ptr[blockIdx.x] = 0; }
.file "tmpxft_0030a7ea_00000000-6_cuda.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnreg...
code for sm_89 Function : kernel_dummy .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 */ ...
#include <hip/hip_runtime.h> extern "C" __global__ void kernel_dummy(float *ptr) { ptr[blockIdx.x] = 0; }
.text .file "cuda.hip" .globl __device_stub__kernel_dummy # -- Begin function __device_stub__kernel_dummy .type __device_stub__kernel_dummy,@function __device_stub__kernel_dummy: # @__device_stub__kernel_dummy .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected kernel_dummy ; -- Begin function kernel_dummy .globl kernel_dummy .p2align 8 .type kernel_dummy,@function kernel_dummy: ; @kernel_dummy ; %bb.0: s_load_b64 s[0:1], s[0:1], 0x0 s_mov_b32 s2, s15 s_mov_b32 s3, 0 v_...
d0c17ea49d618f8f28870b1f1804458d249c4c85
/* * Compile and run: nvcc -arch=sm_20 kGrid.cu -run */ #include <stdio.h> /*__global__ void kGrid(int n, int *k) { int l = blockIdx.x * blockDim.x + threadIdx.x; if(l < n) { for(int* i = 0; i < k; i++) { for(int* j = 0; j < k; j++) { printf("%i", j) } printf("\n"); } } } int main(void) { int N = ...
.file "tmpxft_00326ae2_00000000-6_kGrid.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z12print_kernelv .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 */ ...
/* * Compile and run: nvcc -arch=sm_20 kGrid.cu -run */ #include <hip/hip_runtime.h> #include <stdio.h> /*__global__ void kGrid(int n, int *k) { int l = blockIdx.x * blockDim.x + threadIdx.x; if(l < n) { for(int* i = 0; i < k; i++) { for(int* j = 0; j < k; j++) { printf("%i", j) } printf("\n"); } }...
.text .file "kGrid.hip" .globl _Z27__device_stub__print_kernelv # -- Begin function _Z27__device_stub__print_kernelv .type _Z27__device_stub__print_kernelv,@function _Z27__device_stub__print_kernelv: # @_Z27__device_stub__print_kernelv .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12print_kernelv ; -- Begin function _Z12print_kernelv .globl _Z12print_kernelv .p2align 8 .type _Z12print_kernelv,@function _Z12print_kernelv: ; @_Z12print_kernelv ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x50 v_mbcnt_lo_u32_b3...
d215987dfaf467f1c882241b477bac8760023b15
#include<stdio.h> #include<stdlib.h> #define TPB 8 #define N 32 __device__ float distance(float x1, float x2) { return sqrt ((x2-x1)*(x2-x1)); } __global__ void distanceKernel(float *d_out, float *d_in, float ref) { const int i=blockIdx.x*blockDim.x+threadIdx.x; const int j=blockIdx.x; const int k=threadIdx.x; ...
.file "tmpxft_001fdeae_00000000-6_cuda4.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z14distanceKernelPfS_f .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 */ ...
#include <hip/hip_runtime.h> #include<stdio.h> #include<stdlib.h> #define TPB 8 #define N 32 __device__ float distance(float x1, float x2) { return sqrt ((x2-x1)*(x2-x1)); } __global__ void distanceKernel(float *d_out, float *d_in, float ref) { const int i=blockIdx.x*blockDim.x+threadIdx.x; const int j=blockIdx....
.text .file "cuda4.hip" .globl _Z29__device_stub__distanceKernelPfS_f # -- Begin function _Z29__device_stub__distanceKernelPfS_f .type _Z29__device_stub__distanceKernelPfS_f,@function _Z29__device_stub__distanceKernelPfS_f: # @_Z29__device_stub__distanceKernelPfS_f .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14distanceKernelPfS_f ; -- Begin function _Z14distanceKernelPfS_f .globl _Z14distanceKernelPfS_f .p2align 8 .type _Z14distanceKernelPfS_f,@function _Z14distanceKernelPfS_f: ; @_Z14distanceKernelPfS_f ; %bb.0: s_clause 0x1 s_load_b32 s...
8750b63bb0131dd1dae3f4445e41b4b024021e9c
/* This is a automatically generated test. Do not modify */ #include <stdio.h> #include <stdlib.h> #include <math.h> __global__ void compute(float comp, float var_1,float var_2,float var_3,float var_4,float var_5,float var_6,float var_7,float var_8,float var_9,float var_10,float var_11,float var_12,float var_13,floa...
.file "tmpxft_0027f7ed_00000000-6_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z7computeffffffffffffffffffffffffffffff .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 */ ...
/* This is a automatically generated test. Do not modify */ #include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <math.h> __global__ void compute(float comp, float var_1,float var_2,float var_3,float var_4,float var_5,float var_6,float var_7,float var_8,float var_9,float var_10,float var_11,...
.text .file "test.hip" .globl _Z22__device_stub__computeffffffffffffffffffffffffffffff # -- Begin function _Z22__device_stub__computeffffffffffffffffffffffffffffff .type _Z22__device_stub__computeffffffffffffffffffffffffffffff,@function _Z22__device_stub__computeffffffffffffffffffffffffffffff: # @_Z22__device_stub_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7computeffffffffffffffffffffffffffffff ; -- Begin function _Z7computeffffffffffffffffffffffffffffff .globl _Z7computeffffffffffffffffffffffffffffff .p2align 8 .type _Z7computeffffffffffffffffffffffffffffff,@function _Z7computefffffffffffffffffffffffff...
0afb1ef1d077b7dd284ae2b8c74129b9182e1d82
#include "includes.h" __device__ inline unsigned int RM_Index(unsigned int row, unsigned int col, unsigned int width) { return (row * width + col); } __global__ void MultinomialNBLearnKernel(float *feature_probs, float *class_priors, const float *d_row_sums, unsigned int n_samples_, unsigned int n_classes_, unsigned in...
.file "tmpxft_0022aa24_00000000-6_MultinomialNBLearnKernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .s...
code for sm_89 Function : _Z24MultinomialNBLearnKernelPfS_PKfjjj .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 "includes.h" __device__ inline unsigned int RM_Index(unsigned int row, unsigned int col, unsigned int width) { return (row * width + col); } __global__ void MultinomialNBLearnKernel(float *feature_probs, float *class_priors, const float *d_row_sums, unsigned int n_samples_, unsign...
.text .file "MultinomialNBLearnKernel.hip" .globl _Z39__device_stub__MultinomialNBLearnKernelPfS_PKfjjj # -- Begin function _Z39__device_stub__MultinomialNBLearnKernelPfS_PKfjjj .type _Z39__device_stub__MultinomialNBLearnKernelPfS_PKfjjj,@function _Z39__device_stub__MultinomialNBLearnKernelPfS_PKfjjj: # @_Z39__devi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z24MultinomialNBLearnKernelPfS_PKfjjj ; -- Begin function _Z24MultinomialNBLearnKernelPfS_PKfjjj .globl _Z24MultinomialNBLearnKernelPfS_PKfjjj .p2align 8 .type _Z24MultinomialNBLearnKernelPfS_PKfjjj,@function _Z24MultinomialNBLearnKernelPfS_PKfjjj: ; @...
41a286f6e62dea238e319f6e7f49df761808edce
#include "includes.h" const int Nthreads = 1024, NrankMax = 3, nt0max = 71, NchanMax = 1024; ////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////...
.file "tmpxft_002b0782_00000000-6_blankdWU.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaU...
code for sm_89 Function : _Z8blankdWUPKdS0_PKiS2_Pd .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" const int Nthreads = 1024, NrankMax = 3, nt0max = 71, NchanMax = 1024; ////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////// ///////////...
.text .file "blankdWU.hip" .globl _Z23__device_stub__blankdWUPKdS0_PKiS2_Pd # -- Begin function _Z23__device_stub__blankdWUPKdS0_PKiS2_Pd .type _Z23__device_stub__blankdWUPKdS0_PKiS2_Pd,@function _Z23__device_stub__blankdWUPKdS0_PKiS2_Pd: # @_Z23__device_stub__blankdWUPKdS0_PKiS2_Pd .cfi_startproc # %bb.0: pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8blankdWUPKdS0_PKiS2_Pd ; -- Begin function _Z8blankdWUPKdS0_PKiS2_Pd .globl _Z8blankdWUPKdS0_PKiS2_Pd .p2align 8 .type _Z8blankdWUPKdS0_PKiS2_Pd,@function _Z8blankdWUPKdS0_PKiS2_Pd: ; @_Z8blankdWUPKdS0_PKiS2_Pd ; %bb.0: s_load_b256 s[4:...
4153afd0b88a03d78f5f42b1281842b01e2a9bd5
// // kernel routine // __global__ void VecAdd_kernel(const float* A, const float* B, float* C, int N) /* Naive kernel */ { // Uncomment line below and define global index form block and thread indexes int i = threadIdx.x + blockDim.x * blockIdx.x; if(i < N){ C[i] = A[i] + B[i]; } }
.file "tmpxft_002b8bc1_00000000-6_VecAdd_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__...
code for sm_89 Function : _Z13VecAdd_kernelPKfS0_Pfi .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 */ ...
#include <hip/hip_runtime.h> // // kernel routine // __global__ void VecAdd_kernel(const float* A, const float* B, float* C, int N) /* Naive kernel */ { // Uncomment line below and define global index form block and thread indexes int i = threadIdx.x + blockDim.x * blockIdx.x; if(i < N){ C[i] = A[i] + B[i]; } ...
.text .file "VecAdd_kernel.hip" .globl _Z28__device_stub__VecAdd_kernelPKfS0_Pfi # -- Begin function _Z28__device_stub__VecAdd_kernelPKfS0_Pfi .type _Z28__device_stub__VecAdd_kernelPKfS0_Pfi,@function _Z28__device_stub__VecAdd_kernelPKfS0_Pfi: # @_Z28__device_stub__VecAdd_kernelPKfS0_Pfi .cfi_startproc # %bb.0: p...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13VecAdd_kernelPKfS0_Pfi ; -- Begin function _Z13VecAdd_kernelPKfS0_Pfi .globl _Z13VecAdd_kernelPKfS0_Pfi .p2align 8 .type _Z13VecAdd_kernelPKfS0_Pfi,@function _Z13VecAdd_kernelPKfS0_Pfi: ; @_Z13VecAdd_kernelPKfS0_Pfi ; %bb.0: s_clause 0x...
51719bd41444d547f96dca9204619d4f0cd19a7a
#include <cuda_runtime.h> #include <device_launch_parameters.h> #include <stdio.h> __global__ void vecAddKernel(int *a, int *b, int *c){ int i = threadIdx.x; c[i] = a[i] + b[i]; } int main(){ int v1[5] = {1,2,3,4,5}; int v2[5] = {6,7,8,9,10}; int *cuda_a, *cuda_b, *cuda_c; cudaMalloc((void**) &cuda_a, 5*sizeo...
.file "tmpxft_0031fc72_00000000-6_demo.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z12vecAddKernelPiS_S_ .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 */ ...
#include <hip/hip_runtime.h> #include <stdio.h> __global__ void vecAddKernel(int *a, int *b, int *c){ int i = threadIdx.x; c[i] = a[i] + b[i]; } int main(){ int v1[5] = {1,2,3,4,5}; int v2[5] = {6,7,8,9,10}; int *cuda_a, *cuda_b, *cuda_c; hipMalloc((void**) &cuda_a, 5*sizeof(int)); hipMalloc((void**) &cuda_...
.text .file "demo.hip" .globl _Z27__device_stub__vecAddKernelPiS_S_ # -- Begin function _Z27__device_stub__vecAddKernelPiS_S_ .type _Z27__device_stub__vecAddKernelPiS_S_,@function _Z27__device_stub__vecAddKernelPiS_S_: # @_Z27__device_stub__vecAddKernelPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12vecAddKernelPiS_S_ ; -- Begin function _Z12vecAddKernelPiS_S_ .globl _Z12vecAddKernelPiS_S_ .p2align 8 .type _Z12vecAddKernelPiS_S_,@function _Z12vecAddKernelPiS_S_: ; @_Z12vecAddKernelPiS_S_ ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x...
a45b85e84a7d9c80f847c817bb039a6fdaeaff0d
#include <iostream> #include <fstream> #include <cuda_runtime.h> using namespace std; //nvcc cudaProperty.cu -o cudaProp bool InitCUDA() { int count; cudaGetDeviceCount(&count); if(count == 0) { cout << "There is no device."<< endl; return false; } int i; for(i = 0; i < count...
.file "tmpxft_003aac2a_00000000-6_cudaProperty.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3770: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ....
code for sm_89
#include <iostream> #include <fstream> #include <hip/hip_runtime.h> using namespace std; //nvcc cudaProperty.cu -o cudaProp bool InitCUDA() { int count; hipGetDeviceCount(&count); if(count == 0) { cout << "There is no device."<< endl; return false; } int i; for(i = 0; i < cou...
.text .file "cudaProperty.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z8InitCUDAv # -- Begin function _Z8InitCUDAv .type _Z8InitCUDAv,@f...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
88fa7979125994fe782755f46a3fe6025654c95d
/* * singleGpuSpectrometer * * Version 2.0, April 12 2010 * * This program was written by Hirofumi Kondo at the Supercomputing Engineering Laboratory, * Graduate School of Information Science and Technology, Osaka University, Japan. * * Copyright 2010 Supercomputing Engineering Laboratory, Graduate School of I...
.file "tmpxft_0022fde7_00000000-6_bench_fft.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cuda...
code for sm_89
/* * singleGpuSpectrometer * * Version 2.0, April 12 2010 * * This program was written by Hirofumi Kondo at the Supercomputing Engineering Laboratory, * Graduate School of Information Science and Technology, Osaka University, Japan. * * Copyright 2010 Supercomputing Engineering Laboratory, Graduate School of I...
.text .file "bench_fft.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 .cfi_def_cfa_offset 32 pushq %r12 .cfi_def_...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
902e44fcac595dddbc32aabec3d4720cc5e2a57c
#include "includes.h" __global__ void set_unavailable(bool *available, int n_rows, const int *idx, int n_selected) { int tid = threadIdx.x + blockIdx.x * blockDim.x; if (tid < n_selected) { available[idx[tid]] = false; } }
.file "tmpxft_00283e55_00000000-6_set_unavailable.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26...
code for sm_89 Function : _Z15set_unavailablePbiPKii .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 "includes.h" __global__ void set_unavailable(bool *available, int n_rows, const int *idx, int n_selected) { int tid = threadIdx.x + blockIdx.x * blockDim.x; if (tid < n_selected) { available[idx[tid]] = false; } }
.text .file "set_unavailable.hip" .globl _Z30__device_stub__set_unavailablePbiPKii # -- Begin function _Z30__device_stub__set_unavailablePbiPKii .type _Z30__device_stub__set_unavailablePbiPKii,@function _Z30__device_stub__set_unavailablePbiPKii: # @_Z30__device_stub__set_unavailablePbiPKii .cfi_startproc # %bb.0: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15set_unavailablePbiPKii ; -- Begin function _Z15set_unavailablePbiPKii .globl _Z15set_unavailablePbiPKii .p2align 8 .type _Z15set_unavailablePbiPKii,@function _Z15set_unavailablePbiPKii: ; @_Z15set_unavailablePbiPKii ; %bb.0: s_clause 0x...
02ced532d32646b8f3ded4b6648ba9510ae1e9e7
 //#include "cuda_runtime.h" //#include "device_launch_parameters.h" //#include <stdio.h> #include <stdio.h> #include <cuda_runtime.h> // device kernel __global__ void helloWorldDevice() { printf("Hello world from device %d!\n", threadIdx.x); } int main() { printf("Hello world from host!\n"); // run kernel in ...
.file "tmpxft_003191b0_00000000-6_HelloWorld.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cud...
code for sm_89 Function : _Z16helloWorldDevicev .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 "cuda_runtime.h" //#include "device_launch_parameters.h" //#include <stdio.h> #include <stdio.h> #include <hip/hip_runtime.h> // device kernel __global__ void helloWorldDevice() { printf("Hello world from device %d!\n", threadIdx.x); } int main() { printf("Hello world from host!\n"); // run kernel ...
.text .file "HelloWorld.hip" .globl _Z31__device_stub__helloWorldDevicev # -- Begin function _Z31__device_stub__helloWorldDevicev .type _Z31__device_stub__helloWorldDevicev,@function _Z31__device_stub__helloWorldDevicev: # @_Z31__device_stub__helloWorldDevicev .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_of...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z16helloWorldDevicev ; -- Begin function _Z16helloWorldDevicev .globl _Z16helloWorldDevicev .p2align 8 .type _Z16helloWorldDevicev,@function _Z16helloWorldDevicev: ; @_Z16helloWorldDevicev ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x50 v...
3f082488366f4703de975533df1af80c4a7c5571
#include "includes.h" __global__ void lga_filtering_forward (const int n, const float *bottom_data, const float *filters, const int height, const int width, const int channel, const int radius, float *top_data){ int index = blockIdx.x * blockDim.x + threadIdx.x; // printf("OK\n"); // printf("%d, %.2f, %.2f\n", in...
.file "tmpxft_00308857_00000000-6_lga_filtering_forward.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size...
code for sm_89 Function : _Z21lga_filtering_forwardiPKfS0_iiiiPf .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 "includes.h" __global__ void lga_filtering_forward (const int n, const float *bottom_data, const float *filters, const int height, const int width, const int channel, const int radius, float *top_data){ int index = blockIdx.x * blockDim.x + threadIdx.x; // printf("OK\n"); // ...
.text .file "lga_filtering_forward.hip" .globl _Z36__device_stub__lga_filtering_forwardiPKfS0_iiiiPf # -- Begin function _Z36__device_stub__lga_filtering_forwardiPKfS0_iiiiPf .type _Z36__device_stub__lga_filtering_forwardiPKfS0_iiiiPf,@function _Z36__device_stub__lga_filtering_forwardiPKfS0_iiiiPf: # @_Z36__device_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z21lga_filtering_forwardiPKfS0_iiiiPf ; -- Begin function _Z21lga_filtering_forwardiPKfS0_iiiiPf .globl _Z21lga_filtering_forwardiPKfS0_iiiiPf .p2align 8 .type _Z21lga_filtering_forwardiPKfS0_iiiiPf,@function _Z21lga_filtering_forwardiPKfS0_iiiiPf: ; @...
9a6396ba92f050562b1e73578265683a6becb8fd
char *title = "gauss filtering"; char *description = "gauss filtering"; #include <iostream> #include <cstdio> #include <cstdlib> #include <assert.h> #include <time.h> #include <cuda.h> #include <cuda_runtime.h> #include <math.h> /* exp */ #ifndef max #define max( a, b ) ( ((a) > (b)) ? (a) : (b) ) #endif #ifn...
.file "tmpxft_00224710_00000000-6_cudagaussfilter.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3640: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT...
code for sm_89 Function : _Z27global_recursivegaussfilterPjS_Pdiiiiii .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 */ ...
char *title = "gauss filtering"; char *description = "gauss filtering"; #include <iostream> #include <cstdio> #include <cstdlib> #include <assert.h> #include <time.h> #include <hip/hip_runtime.h> #include <math.h> /* exp */ #ifndef max #define max( a, b ) ( ((a) > (b)) ? (a) : (b) ) #endif #ifndef min #defin...
.text .file "cudagaussfilter.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z40__device_stub__global_defaultgaussfilterPjS_Pdiiiii # -- Begin function _Z40__de...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z25global_defaultgaussfilterPjS_Pdiiiii ; -- Begin function _Z25global_defaultgaussfilterPjS_Pdiiiii .globl _Z25global_defaultgaussfilterPjS_Pdiiiii .p2align 8 .type _Z25global_defaultgaussfilterPjS_Pdiiiii,@function _Z25global_defaultgaussfilterPjS_Pd...
bc3052a7a03f8df90be477fe7e86f33243869ac8
#include "addition.cuh" #include <stdio.h> __global__ void addition(int* a, int* b, int* c){ *c = *a + *b; } void setupCuda(int* &D_A, int* &D_B, int* &D_C, int* &A, int* &B, int* &C){ cudaMalloc((void**)&D_A, sizeof(int)); cudaMalloc((void**)&D_B, sizeof(int)); cudaMalloc((void**)&D_C, sizeof(int)); ...
.file "tmpxft_00239042_00000000-6_addition.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2034: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2034: .size _ZL26__cudaU...
code for sm_89 Function : _Z8additionPiS_S_ .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> void setupCuda(int* &D_A, int* &D_B, int* &D_C, int* &A, int* &B, int* &C); void copyInputToDevice(int* D_A, int* D_B, int* D_C, int* A, int* B, int* C); void executeKernel(int* D_A, int* D_B, int* D_C, int* A, int* B, int* C); void copyOutputToHost(int* D_A, int* D_B, int* D_C, int* A...
.text .file "addition.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960f...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
1050fff9493072298bec47244341a11a4fa5160c
#include "includes.h" __global__ void bcnn_op_cuda_ramp_kernel(int n, float *x, float *y) { int i = (blockIdx.x + blockIdx.y * gridDim.x) * blockDim.x + threadIdx.x; if (i < n) { y[i] = x[i] * (x[i] > 0) + 0.1 * x[i]; } return; }
.file "tmpxft_00359a2a_00000000-6_bcnn_op_cuda_ramp_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .s...
code for sm_89 Function : _Z24bcnn_op_cuda_ramp_kerneliPfS_ .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void bcnn_op_cuda_ramp_kernel(int n, float *x, float *y) { int i = (blockIdx.x + blockIdx.y * gridDim.x) * blockDim.x + threadIdx.x; if (i < n) { y[i] = x[i] * (x[i] > 0) + 0.1 * x[i]; } return; }
.text .file "bcnn_op_cuda_ramp_kernel.hip" .globl _Z39__device_stub__bcnn_op_cuda_ramp_kerneliPfS_ # -- Begin function _Z39__device_stub__bcnn_op_cuda_ramp_kerneliPfS_ .type _Z39__device_stub__bcnn_op_cuda_ramp_kerneliPfS_,@function _Z39__device_stub__bcnn_op_cuda_ramp_kerneliPfS_: # @_Z39__device_stub__bcnn_op_cud...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z24bcnn_op_cuda_ramp_kerneliPfS_ ; -- Begin function _Z24bcnn_op_cuda_ramp_kerneliPfS_ .globl _Z24bcnn_op_cuda_ramp_kerneliPfS_ .p2align 8 .type _Z24bcnn_op_cuda_ramp_kerneliPfS_,@function _Z24bcnn_op_cuda_ramp_kerneliPfS_: ; @_Z24bcnn_op_cuda_ram...
8bee36ae1c4a8fd39cfab5d048698825f67c7c5f
#include "cuda_runtime.h" #include <stdint.h>
.file "tmpxft_00293844_00000000-6_bnadd.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnre...
code for sm_89
#include "hip/hip_runtime.h" #include <stdint.h>
.text .file "bnadd.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa79...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
837f5a4573a3db2b04d9f3acba68a947c17414c0
#include <cuda_runtime.h> int main() { int* a; cudaMalloc(&a, 100); cudaFree(a); return 0; }
.file "tmpxft_003093bf_00000000-6_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnreg...
code for sm_89
#include <hip/hip_runtime.h> int main() { int* a; hipMalloc(&a, 100); hipFree(a); return 0; }
.text .file "test.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %rbx .cfi_def_cfa_offset 16 subq $16, %rsp .cfi_def_cfa_offset 32 .cfi_offset %rbx, -16 leaq 8(%rsp), %rbx movl $100, %esi...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
23b171650f1e33331f3e7d2acb6769489cece77a
#include <cuda_runtime.h> #include <device_launch_parameters.h> #include <cstdio> #include <iostream> #include <cstdlib> #define BLOCK_SIZE 64 #define N 64 using namespace std; void displayLastError(const string &msg) { cout << "Last Error (" << msg << "):\t" << cudaGetErrorString(cudaGetLastError()) << endl; } ...
.file "tmpxft_00391ea9_00000000-6_minmax.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3639: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_en...
code for sm_89 Function : _Z10minMaxCudaPf .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 <cstdio> #include <iostream> #include <cstdlib> #define BLOCK_SIZE 64 #define N 64 using namespace std; void displayLastError(const string &msg) { cout << "Last Error (" << msg << "):\t" << hipGetErrorString(hipGetLastError()) << endl; } __global__ void minMaxCuda(float *ar...
.text .file "minmax.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z16displayLastErrorRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE # -- Begin functio...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10minMaxCudaPf ; -- Begin function _Z10minMaxCudaPf .globl _Z10minMaxCudaPf .p2align 8 .type _Z10minMaxCudaPf,@function _Z10minMaxCudaPf: ; @_Z10minMaxCudaPf ; %bb.0: s_load_b32 s2, s[0:1], 0x14 s_waitcnt lgkmcnt(0) s_a...
a6f10c55de8a91f97410d19a7ee80df770e4c594
#include "includes.h" __global__ void sgemm_kernel_v2(const float *A, const float *B, float *C, int M, int N, int K, float alpha, float beta) { int bid_x = blockIdx.x * blockDim.x; int bid_y = blockIdx.y * blockDim.y; int tid_x = threadIdx.x; int tid_y = threadIdx.y; float element_c = 0.f; __shared__ float s_tile_A[BL...
.file "tmpxft_0034bd01_00000000-6_sgemm_kernel_v2.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26...
code for sm_89 Function : _Z15sgemm_kernel_v2PKfS0_Pfiiiff .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void sgemm_kernel_v2(const float *A, const float *B, float *C, int M, int N, int K, float alpha, float beta) { int bid_x = blockIdx.x * blockDim.x; int bid_y = blockIdx.y * blockDim.y; int tid_x = threadIdx.x; int tid_y = threadIdx.y; float element_c = 0.f...
.text .file "sgemm_kernel_v2.hip" .globl _Z30__device_stub__sgemm_kernel_v2PKfS0_Pfiiiff # -- Begin function _Z30__device_stub__sgemm_kernel_v2PKfS0_Pfiiiff .type _Z30__device_stub__sgemm_kernel_v2PKfS0_Pfiiiff,@function _Z30__device_stub__sgemm_kernel_v2PKfS0_Pfiiiff: # @_Z30__device_stub__sgemm_kernel_v2PKfS0_Pfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15sgemm_kernel_v2PKfS0_Pfiiiff ; -- Begin function _Z15sgemm_kernel_v2PKfS0_Pfiiiff .globl _Z15sgemm_kernel_v2PKfS0_Pfiiiff .p2align 8 .type _Z15sgemm_kernel_v2PKfS0_Pfiiiff,@function _Z15sgemm_kernel_v2PKfS0_Pfiiiff: ; @_Z15sgemm_kernel_v2PKfS0...
47943081dd744792c34072cc42205cc92b661da1
// My first CUDA program! // 2018.9.1 #include <stdio.h> __global__ void helloFromGPU(void) { printf("Hello GPU! from thread \n"); } int main(void) { printf("Hello cPU! \n"); helloFromGPU <<<1,10>>>(); //cudaDeviceReset(); cudaDeviceSynchronize(); return 0; }
.file "tmpxft_0024cd5c_00000000-6_hello.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z12helloFromGPUv .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 */ ...
// My first CUDA program! // 2018.9.1 #include <hip/hip_runtime.h> #include <stdio.h> __global__ void helloFromGPU(void) { printf("Hello GPU! from thread \n"); } int main(void) { printf("Hello cPU! \n"); helloFromGPU <<<1,10>>>(); //cudaDeviceReset(); hipDeviceSynchronize(); return 0; }
.text .file "hello.hip" .globl _Z27__device_stub__helloFromGPUv # -- Begin function _Z27__device_stub__helloFromGPUv .type _Z27__device_stub__helloFromGPUv,@function _Z27__device_stub__helloFromGPUv: # @_Z27__device_stub__helloFromGPUv .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12helloFromGPUv ; -- Begin function _Z12helloFromGPUv .globl _Z12helloFromGPUv .p2align 8 .type _Z12helloFromGPUv,@function _Z12helloFromGPUv: ; @_Z12helloFromGPUv ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x50 v_mbcnt_lo_u32_b3...
73cb919e74d58cc9b044352430da14ea0a78348b
#include <cuda.h> #include <stdio.h> #include <time.h> #define N 100 __global__ void addVectorGPU(int* a, int* b, int* c) { int tid = blockIdx.x * blockDim.x + threadIdx.x; if (tid < N) { c[tid] = a[tid] + b[tid]; } } void addVectorCPU(int* a, int* b, int* c) { for (int i = 0; i < N; i++) { c[i] = a[i...
.file "tmpxft_0026b083_00000000-6_addVector.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__cuda...
code for sm_89 Function : _Z12addVectorGPUPiS_S_ .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 */ ...
#include <hip/hip_runtime.h> #include <stdio.h> #include <time.h> #define N 100 __global__ void addVectorGPU(int* a, int* b, int* c) { int tid = blockIdx.x * blockDim.x + threadIdx.x; if (tid < N) { c[tid] = a[tid] + b[tid]; } } void addVectorCPU(int* a, int* b, int* c) { for (int i = 0; i < N; i++) { ...
.text .file "addVector.hip" .globl _Z27__device_stub__addVectorGPUPiS_S_ # -- Begin function _Z27__device_stub__addVectorGPUPiS_S_ .type _Z27__device_stub__addVectorGPUPiS_S_,@function _Z27__device_stub__addVectorGPUPiS_S_: # @_Z27__device_stub__addVectorGPUPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12addVectorGPUPiS_S_ ; -- Begin function _Z12addVectorGPUPiS_S_ .globl _Z12addVectorGPUPiS_S_ .p2align 8 .type _Z12addVectorGPUPiS_S_,@function _Z12addVectorGPUPiS_S_: ; @_Z12addVectorGPUPiS_S_ ; %bb.0: s_load_b32 s2, s[0:1], 0x24 s...
b4a7670525fc14e8025181b9514611786ab33ede
/** * Concurrent Wave Equation * Compilation Command: nvcc cuda1.cu -o cuda1 * This program was originally written in serial method by the teacher. */ #include <stdio.h> #include <stdlib.h> #include <time.h> #define MAXPOINTS 1000000 #define MAXSTEPS 1000000 #define MINPOINTS 20 static void handleError(cudaErro...
.file "tmpxft_00281423_00000000-6_cuda1.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z9updateAllPfS_ii .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 */ ...
/** * Concurrent Wave Equation * Compilation Command: nvcc cuda1.cu -o cuda1 * This program was originally written in serial method by the teacher. */ #include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #define MAXPOINTS 1000000 #define MAXSTEPS 1000000 #define MINPOINTS 20 st...
.text .file "cuda1.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %r14 .cfi_def_cfa_offset 16 pushq %rbx .cfi_def_cfa_offset 24 pushq %rax .cfi_def_cfa_offset 32 .cfi_offset %rbx, -24 .c...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8initLinePfS_i ; -- Begin function _Z8initLinePfS_i .globl _Z8initLinePfS_i .p2align 8 .type _Z8initLinePfS_i,@function _Z8initLinePfS_i: ; @_Z8initLinePfS_i ; %bb.0: s_clause 0x1 s_load_b32 s3, s[0:1], 0x24 s_load_b32 ...
5c51366680313f8fd87f39cce7d3e6fea290d5be
#include <cuda_runtime.h> #include "device_launch_parameters.h" #include <stdio.h> #include <iostream> #include <omp.h> #include <chrono> #include <random> #include <iomanip> #include <cmath> #include "matrix_operations.cuh" #define BLOCKSIZE_1 16 __global__ void kernel_naive_multiply_cuda(double* Ad, double* Bd, d...
.file "tmpxft_00337851_00000000-6_matrix_operations.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZSt5fixedRSt8ios_base,"axG",@progbits,_ZSt5fixedRSt8ios_base,comdat .weak _ZSt5fixedRSt8ios_base .type _ZSt5fixedRSt8ios_base, @function _ZSt5fixedRSt8ios_base: .LFB3285: .cfi_...
code for sm_89 Function : _Z26kernel_naive_multiply_cudaPdS_S_iii .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 */ ...
#ifndef MAT_OP #define MAT_OP int random_uniform_initialize(double* m, int M, int N, double lower, double upper); int naive_multiply_sequential(double* A, double* B, double* C, int M, int K, int N); int naive_multiply_omp(double* A, double* B, double* C, int M, int K, int N); void print_matrix(const double* mat, int M...
.text .file "matrix_operations.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
5e5fad4c0dde6c1735b0312fff786f742c1ab886
extern "C" __global__ void noarg() {} extern "C" __global__ void simple_add(float * A) { int id = blockIdx.x * blockDim.x + threadIdx.x; A[id] += 1.0; } extern "C" __global__ void four_mad(float * A) { int id = blockIdx.x * blockDim.x + threadIdx.x; float f = A[id]; f *= 41.0; f += 37.0; f *= 11.0; f += 23.0;...
.file "tmpxft_003a3967_00000000-6_micro.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnre...
code for sm_89 Function : peak_flop_empty .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 */ ...
#include <hip/hip_runtime.h> extern "C" __global__ void noarg() {} extern "C" __global__ void simple_add(float * A) { int id = blockIdx.x * blockDim.x + threadIdx.x; A[id] += 1.0; } extern "C" __global__ void four_mad(float * A) { int id = blockIdx.x * blockDim.x + threadIdx.x; float f = A[id]; f *= 41.0; f +=...
.text .file "micro.hip" .globl __device_stub__noarg # -- Begin function __device_stub__noarg .type __device_stub__noarg,@function __device_stub__noarg: # @__device_stub__noarg .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq %r12 ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected noarg ; -- Begin function noarg .globl noarg .p2align 8 .type noarg,@function noarg: ; @noarg ; %bb.0: s_endpgm .section .rodata,"a",@progbits .p2align 6, 0x0 .amdhsa_kernel noarg .amdhsa_group_se...
8bbe5e051dc7a519682ac0d77ff0db43c32ee6da
/* #include "SiPotential.h" //-------------------- force between two Si particles ---------------------// __host__ __device__ double f2_derivative_of_rij_tag(double r_ij_tag) { double first = -4*B_Si*(1.0/(r_ij_tag*r_ij_tag*r_ij_tag*r_ij_tag*r_ij_tag)); double second = ((B_Si*(1.0/(r_ij_tag*r_ij_tag*r_ij_tag*r_ij_t...
.file "tmpxft_00216aec_00000000-6_SiPotential.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cu...
code for sm_89
#include <hip/hip_runtime.h> /* #include "SiPotential.h" //-------------------- force between two Si particles ---------------------// __host__ __device__ double f2_derivative_of_rij_tag(double r_ij_tag) { double first = -4*B_Si*(1.0/(r_ij_tag*r_ij_tag*r_ij_tag*r_ij_tag*r_ij_tag)); double second = ((B_Si*(1.0/(r_i...
.text .file "SiPotential.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d89...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
ffda0a9d246992155c0575ca4c432d4aa6632d60
//Header from standard libraries #include <fstream> //size of blocks in grid #define BLOCK_SIZE 16 //kernel function to multiply c=a*b __global__ void Muld(float* a,float* b,float* c,int n) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = blockIdx.y * blockDim.y + threadIdx.y; float sum = 0; if(i>=n ||...
.file "tmpxft_002068b5_00000000-6_matrix_mult.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3770: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE3770: .size _ZL26__cu...
code for sm_89 Function : _Z4MuldPfS_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 */ ...
//Header from standard libraries #include <hip/hip_runtime.h> #include <fstream> //size of blocks in grid #define BLOCK_SIZE 16 //kernel function to multiply c=a*b __global__ void Muld(float* a,float* b,float* c,int n) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = blockIdx.y * blockDim.y + threadIdx.y;...
.text .file "matrix_mult.hip" .globl _Z19__device_stub__MuldPfS_S_i # -- Begin function _Z19__device_stub__MuldPfS_S_i .type _Z19__device_stub__MuldPfS_S_i,@function _Z19__device_stub__MuldPfS_S_i: # @_Z19__device_stub__MuldPfS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4MuldPfS_S_i ; -- Begin function _Z4MuldPfS_S_i .globl _Z4MuldPfS_S_i .p2align 8 .type _Z4MuldPfS_S_i,@function _Z4MuldPfS_S_i: ; @_Z4MuldPfS_S_i ; %bb.0: s_clause 0x1 s_load_b32 s3, s[0:1], 0x2c s_load_b32 s2, s[0:...
1adf39c25433ec4fcd29df03230f9bc28d0bb0b9
// ########################################################## // By Eugene Ch'ng | www.complexity.io // Email: genechng@gmail.com // ---------------------------------------------------------- // The ERC 'Lost Frontiers' Project // Development for the Parallelisation of ABM Simulation // ------------------------------...
.file "tmpxft_00219443_00000000-6_structID.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3641: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_...
code for sm_89 Function : _Z8changeIDP6AGENTS .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 */ ...
// ########################################################## // By Eugene Ch'ng | www.complexity.io // Email: genechng@gmail.com // ---------------------------------------------------------- // The ERC 'Lost Frontiers' Project // Development for the Parallelisation of ABM Simulation // ------------------------------...
.text .file "structID.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z23__device_stub__changeIDP6AGENTS # -- Begin function _Z23__device_stub__changeIDP6AGENTS...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8changeIDP6AGENTS ; -- Begin function _Z8changeIDP6AGENTS .globl _Z8changeIDP6AGENTS .p2align 8 .type _Z8changeIDP6AGENTS,@function _Z8changeIDP6AGENTS: ; @_Z8changeIDP6AGENTS ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x0 v_dual_mov...
c1cd406dc1b9b96fbc88807b4502b2b95987acdc
/* Solving the 2D acoustic wave equation using explicit finite * difference method * Copyright 2018 Chaiwoot Boonyasiriwat. All rights reserved. */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> //Kernel __global__ void Wcalculate(float *u0,float *u1,float *u2,float C2,int nx,int ny){ ...
.file "tmpxft_0039403b_00000000-6_Wave2d.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z7WupdatePfS_S_ii .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 */ ...
/* Solving the 2D acoustic wave equation using explicit finite * difference method * Copyright 2018 Chaiwoot Boonyasiriwat. All rights reserved. */ #include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> //Kernel __global__ void Wcalculate(float *u0,float *u1,float *...
.text .file "Wave2d.hip" .globl _Z25__device_stub__WcalculatePfS_S_fii # -- Begin function _Z25__device_stub__WcalculatePfS_S_fii .type _Z25__device_stub__WcalculatePfS_S_fii,@function _Z25__device_stub__WcalculatePfS_S_fii: # @_Z25__device_stub__WcalculatePfS_S_fii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10WcalculatePfS_S_fii ; -- Begin function _Z10WcalculatePfS_S_fii .globl _Z10WcalculatePfS_S_fii .p2align 8 .type _Z10WcalculatePfS_S_fii,@function _Z10WcalculatePfS_S_fii: ; @_Z10WcalculatePfS_S_fii ; %bb.0: s_clause 0x1 s_load_b32 s...
7da3cf68bf0219843eb66aaf70ccd205738c8b28
#include <stdio.h> #include "Queue.cuh" Queue** createQueue(int width, int height){ Queue** queue=(Queue**)calloc(1, sizeof(Queue*)); *queue=(Queue*)calloc(1, sizeof(Queue)); (*queue)->width=width; (*queue)->height=height; (*queue)->entries=0; (*queue)->queue=(int**)calloc(height, sizeof(int*)); for(int ent...
.file "tmpxft_002a513c_00000000-6_Queue.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2040: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2040: .size _ZL26__cudaUnre...
code for sm_89
#ifndef QUEUE_CUH #define QUEUE_CUH typedef struct q{ int height; int width; int** queue; int entries; }Queue; Queue** createQueue(int width, int height); void freeQueue(Queue** queue); void freeEntryFromQueue(int* entry); int isEmpty(Queue** queue); void insertToQueue(Queue** queue, int* entry); int* peekFr...
.text .file "Queue.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa79...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
819db534b0e7d67d59ae86baeff0dafed66b8ba7
#include <stdio.h> #include <stdint.h> #include <math.h> #include <cuda_runtime.h> #define FLT_MIN 1.175494351e-38F __device__ float FCC_KR = 0.3; __device__ float FCC_KB = 0.11; __device__ float SMPTE_240M_KR = 0.212; __device__ float SMPTE_240M_KB = 0.087; __device__ float REC_601_KR = 0.299; __device__ float REC_601...
.file "tmpxft_00229ea9_00000000-6_colorhdr.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2041: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2041: .size _ZL26__cudaU...
code for sm_89 Function : _Z16stamp_line_32_uvPfPhii .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 <stdio.h> #include <stdint.h> #include <math.h> #include <hip/hip_runtime.h> #define FLT_MIN 1.175494351e-38F __device__ float FCC_KR = 0.3; __device__ float FCC_KB = 0.11; __device__ float SMPTE_240M_KR = 0.212; __device__ float SMPTE_240M_KB = 0.087; __device__ float REC_601_KR = 0.299; __device__ float REC_...
.text .file "colorhdr.hip" .globl _Z20__device_stub__doGPUPhS_i # -- Begin function _Z20__device_stub__doGPUPhS_i .type _Z20__device_stub__doGPUPhS_i,@function _Z20__device_stub__doGPUPhS_i: # @_Z20__device_stub__doGPUPhS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_de...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z5doGPUPhS_i ; -- Begin function _Z5doGPUPhS_i .globl _Z5doGPUPhS_i .p2align 8 .type _Z5doGPUPhS_i,@function _Z5doGPUPhS_i: ; @_Z5doGPUPhS_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_load_b32 s3, s[0:1], ...
81b1f2310f8b021f5e5be732bfe4f0b1323746cb
/* * Kernel for calulating the element-wise product of two matrices * m, n --> dimensions of matrices A, B, C */ extern "C" { __global__ void hadamard(int m, int n, float *A, int lda, float *B, int ldb, float *C, int ldc) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = blockIdx.y * blockDim.y + thre...
.file "tmpxft_002f2d1c_00000000-6_elemWiseFloat.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__...
code for sm_89 Function : copy .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 */ ...
#include <hip/hip_runtime.h> /* * Kernel for calulating the element-wise product of two matrices * m, n --> dimensions of matrices A, B, C */ extern "C" { __global__ void hadamard(int m, int n, float *A, int lda, float *B, int ldb, float *C, int ldc) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = ...
.text .file "elemWiseFloat.hip" .globl __device_stub__hadamard # -- Begin function __device_stub__hadamard .type __device_stub__hadamard,@function __device_stub__hadamard: # @__device_stub__hadamard .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected hadamard ; -- Begin function hadamard .globl hadamard .p2align 8 .type hadamard,@function hadamard: ; @hadamard ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x44 s_load_b64 s[2:3], s[0:1], 0x0 v_and_b32_e...
f400ac566d42c9d0250d2a17981d26657bd3a989
#include <cuda.h> /*Lx2Cuda performs the 2-D convolution of matrices A and row vector B*/ __global__ void Lx2(const float *d_in,float *d_out,int numRows,int numCols, float *mask) { //Calculate the row # of the d_in and d_out element to process int Col = blockIdx.y*blockDim.y + threadIdx.y; //Calculat...
.file "tmpxft_002b0110_00000000-6_gfconvn.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUn...
code for sm_89 Function : _Z6rsgbfdPKfPfS1_iiS1_ .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 */ ...
#include <hip/hip_runtime.h> /*Lx2Cuda performs the 2-D convolution of matrices A and row vector B*/ __global__ void Lx2(const float *d_in,float *d_out,int numRows,int numCols, float *mask) { //Calculate the row # of the d_in and d_out element to process int Col = blockIdx.y*blockDim.y + threadIdx.y; ...
.text .file "gfconvn.hip" .globl _Z18__device_stub__Lx2PKfPfiiS1_ # -- Begin function _Z18__device_stub__Lx2PKfPfiiS1_ .type _Z18__device_stub__Lx2PKfPfiiS1_,@function _Z18__device_stub__Lx2PKfPfiiS1_: # @_Z18__device_stub__Lx2PKfPfiiS1_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3Lx2PKfPfiiS1_ ; -- Begin function _Z3Lx2PKfPfiiS1_ .globl _Z3Lx2PKfPfiiS1_ .p2align 8 .type _Z3Lx2PKfPfiiS1_,@function _Z3Lx2PKfPfiiS1_: ; @_Z3Lx2PKfPfiiS1_ ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_b64 ...
70e5c685c1e89af1c5e1e45aac1d87f28385f45b
/* * ExBottomUpdater.cpp * * Created on: 01 февр. 2016 г. * Author: aleksandr */ #include "ExBottomUpdater.h" #include "SmartIndex.h" /* * indx должен пренадлежать участку от [0, sizeX-1] */ __device__ void ExBottomUpdater::operator() (const int indx) { int m = indx; Ex(m, 0) = coeff[0] * (Ex(m, 2) + Ex...
.file "tmpxft_0031d194_00000000-6_ExBottomUpdater.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text.nvtxEtiGetModuleFunctionTable_v3,"axG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat .weak nvtxEtiGetModuleFunctionTable_v3 .hidden nvtxEtiGetModuleFunctionTable_v3 .type nvtx...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv .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 */ ...
/* * ExBottomUpdater.cpp * * Created on: 01 февр. 2016 г. * Author: aleksandr */ #include <hip/hip_runtime.h> #include "ExBottomUpdater.h" #include "SmartIndex.h" /* * indx должен пренадлежать участку от [0, sizeX-1] */ __device__ void ExBottomUpdater::operator() (const int indx) { int m = indx; Ex(m, ...
.text .file "ExBottomUpdater.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_:...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
5c52494bd65e0e75d4cd74a1371822924996c81b
/* * EzBottomUpdater.cpp * * Created on: 23 янв. 2016 г. * Author: aleksandr */ #include "EzBottomUpdater.h" #include "SmartIndex.h" #define EzBottom(N, Q, M) EzBottom[(M) * 6 + (Q) * 3 + (N)] /* * indx должен пренадлежать участку от [0, sizeX-1] */ __device__ void EzBottomUpdater::operator() (const int i...
.file "tmpxft_002cd381_00000000-6_EzBottomUpdater.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text.nvtxEtiGetModuleFunctionTable_v3,"axG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat .weak nvtxEtiGetModuleFunctionTable_v3 .hidden nvtxEtiGetModuleFunctionTable_v3 .type nvtx...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv .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 */ ...
/* * EzBottomUpdater.cpp * * Created on: 23 янв. 2016 г. * Author: aleksandr */ #include <hip/hip_runtime.h> #include "EzBottomUpdater.h" #include "SmartIndex.h" #define EzBottom(N, Q, M) EzBottom[(M) * 6 + (Q) * 3 + (N)] /* * indx должен пренадлежать участку от [0, sizeX-1] */ __device__ void EzBottomUp...
.text .file "EzBottomUpdater.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_:...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
be47999ec5b9c89547d8700993c45625dbe741cc
/* * CS 4444 * Steven Stetzler * Homework 5: Matrix-Matrix Multiplication with CUDA */ #include <stdio.h> #include <assert.h> #include <cuda.h> #include <cuda_runtime.h> #include <sys/time.h> #include <stdlib.h> #include <iostream> using namespace std; // If the specified error code refers to a real error, repor...
.file "tmpxft_0036d998_00000000-6_Steven_Stetzler_Matrix_Multiply.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3641: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregis...
code for sm_89 Function : _Z15matrix_mult_gpuPfS_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 */ ...
/* * CS 4444 * Steven Stetzler * Homework 5: Matrix-Matrix Multiplication with CUDA */ #include <stdio.h> #include <assert.h> #include <hip/hip_runtime.h> #include <sys/time.h> #include <stdlib.h> #include <iostream> using namespace std; // If the specified error code refers to a real error, report it and quit ...
.text .file "Steven_Stetzler_Matrix_Multiply.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z11check_error10hipError_t # -- Begin function _Z11check_error1...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15matrix_mult_gpuPfS_S_i ; -- Begin function _Z15matrix_mult_gpuPfS_S_i .globl _Z15matrix_mult_gpuPfS_S_i .p2align 8 .type _Z15matrix_mult_gpuPfS_S_i,@function _Z15matrix_mult_gpuPfS_S_i: ; @_Z15matrix_mult_gpuPfS_S_i ; %bb.0: s_clause 0x...
ff892b5ac5ba33aa07b5bca0675464523ce0c5b9
#include <iostream> #include <stdlib.h> #include "load_matrix.cuh" int load_matrix(double ***matrix, int *size, char* filename) { FILE* ip; int i, j; if ((ip = fopen(filename, "r")) == NULL) { return 1; } fscanf(ip, "%d\n\n", size); (*matrix) = alloc_mem(*size, (*size) + 1); for (i = 0; i < *size; ++i) { ...
.file "tmpxft_0027f0a9_00000000-6_load_matrix.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3640: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .c...
code for sm_89
#include <hip/hip_runtime.h> #include <iostream> #include <stdlib.h> #include "load_matrix.cuh" int load_matrix(double ***matrix, int *size, char* filename) { FILE* ip; int i, j; if ((ip = fopen(filename, "r")) == NULL) { return 1; } fscanf(ip, "%d\n\n", size); (*matrix) = alloc_mem(*size, (*size) + 1); fo...
.text .file "load_matrix.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z11load_matrixPPPdPiPc # -- Begin function _Z11load_matrixPPPdPiPc .type _Z11l...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
47010819fbc0e6451810d10062d906f7272f78ae
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <cuda.h> /** * Encrypt Program Cuda * * This program encrypts a file using a degree 2 formula using Cuda * Parallelization and then decrypts the file using another degree 2 * formula. * * @Author: Clayton Chase Glenn */ #def...
.file "tmpxft_00296a99_00000000-6_Encrypt_CUDA.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__c...
code for sm_89 Function : _Z7isMatchPcS_Pii .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 <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <hip/hip_runtime.h> /** * Encrypt Program Cuda * * This program encrypts a file using a degree 2 formula using Cuda * Parallelization and then decrypts the file using another degree 2 * formula. * * @Author: Clayton Chase Glen...
.text .file "Encrypt_CUDA.hip" .globl _Z22__device_stub__encryptPcS_iii # -- Begin function _Z22__device_stub__encryptPcS_iii .type _Z22__device_stub__encryptPcS_iii,@function _Z22__device_stub__encryptPcS_iii: # @_Z22__device_stub__encryptPcS_iii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 p...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7encryptPcS_iii ; -- Begin function _Z7encryptPcS_iii .globl _Z7encryptPcS_iii .p2align 8 .type _Z7encryptPcS_iii,@function _Z7encryptPcS_iii: ; @_Z7encryptPcS_iii ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_...
915d13bf6d975f9548eda55b585214918e27154a
/* Copyright (C) 2012 Fabrizio Gueli * * This file is part of Cuda-complex-sim * * Cuda-complex-sim is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version 3 of the License, or (at your...
.file "tmpxft_0036536b_00000000-6_scalefree_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26_...
code for sm_89
#include <hip/hip_runtime.h> /* Copyright (C) 2012 Fabrizio Gueli * * This file is part of Cuda-complex-sim * * Cuda-complex-sim is free software: you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation, either * version...
.text .file "scalefree_test.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
0d69be4abc19988cdd37165549fe56f9a937c027
// dimensions layout: // 0-2 target offset_size (flat) // 3-5 source and inclusion size (incremental) // 6-8 filter size (not incremental) // 9 sample_count __global__ void cuda_filter_tips_fast( float *target_image, float const *const source_image, float const *const inclusion_image, ...
.file "tmpxft_002e330a_00000000-6_cuda_filter_tips_fast.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size...
code for sm_89 Function : _Z21cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj .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 */ ...
#include <hip/hip_runtime.h> // dimensions layout: // 0-2 target offset_size (flat) // 3-5 source and inclusion size (incremental) // 6-8 filter size (not incremental) // 9 sample_count __global__ void cuda_filter_tips_fast( float *target_image, float const *const source_image, float c...
.text .file "cuda_filter_tips_fast.hip" .globl _Z36__device_stub__cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj # -- Begin function _Z36__device_stub__cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj .type _Z36__device_stub__cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj,@function _Z36__device_stub__cuda_filter_tips_fastP...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z21cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj ; -- Begin function _Z21cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj .globl _Z21cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj .p2align 8 .type _Z21cuda_filter_tips_fastPfPKfS1_S1_PKiS3_S1_PKj,@function _Z2...
75576f5dc712d767b2754fccedb39be59b8e2c1a
#include "test.cuh" __global__ void cuda_lanch_add(float *ptr, const int len) { int index = threadIdx.x + blockIdx.x * blockDim.x; int stride = blockDim.x * gridDim.x; for(int i = index; i < len; i = i + stride) { if(i < len){ ptr[i] = ptr[i] * 2; } } } void add(f...
.file "tmpxft_00267bfe_00000000-6_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z14cuda_lanch_addPfi .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 <hip/hip_runtime_api.h> extern "C" { void add(float *ptr, const int len); }
.text .file "test.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa798...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
707fb5682bcc9d0cb6dcea3b42bf5bcfca0b5d1a
/*----------- * * square.cu * * This is the source file of an increment kernel. * * This kernel is from CUDA samples. simpleOccupancy.cu * * streamsOptBenchmark/square.cu * * By Hao Li * *------------ */ // #include "functions.h" //////////////////////////////////////////////////////////////////////////...
.file "tmpxft_0029765f_00000000-6_square.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z6squarePfS_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 */ ...
#include <hip/hip_runtime.h> /*----------- * * square.cu * * This is the source file of an increment kernel. * * This kernel is from CUDA samples. simpleOccupancy.cu * * streamsOptBenchmark/square.cu * * By Hao Li * *------------ */ // #include "functions.h" ////////////////////////////////////////////...
.text .file "square.hip" .globl _Z21__device_stub__squarePfS_i # -- Begin function _Z21__device_stub__squarePfS_i .type _Z21__device_stub__squarePfS_i,@function _Z21__device_stub__squarePfS_i: # @_Z21__device_stub__squarePfS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_d...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6squarePfS_i ; -- Begin function _Z6squarePfS_i .globl _Z6squarePfS_i .p2align 8 .type _Z6squarePfS_i,@function _Z6squarePfS_i: ; @_Z6squarePfS_i ; %bb.0: s_clause 0x2 s_load_b32 s2, s[0:1], 0x24 s_load_b128 s[4:7],...
3bd88cf9a9bcaa1d95923d97e06ea819d54f4f77
#include "matrix.cuh" #define ROW_INDEX 0 #define COL_INDEX 1 #define NUM_INDEXES 2 __device__ matrix_t* device_roll_matrix_list(buffer_t* buffer, matrix_list_t* list) { unsigned int i; //assert(list != NULL); //for(i=0; i<list->num; i++) //{ // assert(list->matrix_list[i] != NULL); //} unsigned int vector_si...
.file "tmpxft_00209ece_00000000-6_device_matrix_util.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _Z...
code for sm_89
#include <hip/hip_runtime.h> #include "matrix.cuh" #define ROW_INDEX 0 #define COL_INDEX 1 #define NUM_INDEXES 2 __device__ matrix_t* device_roll_matrix_list(buffer_t* buffer, matrix_list_t* list) { unsigned int i; //assert(list != NULL); //for(i=0; i<list->num; i++) //{ // assert(list->matrix_list[i] != NULL);...
.text .file "device_matrix_util.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b0...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
505f0dc8a6a3278ab93990ed5dd8f10ece1d3efe
#include <cstdio> int deviceQuery() { int deviceCount; cudaGetDeviceCount(&deviceCount); for (int dev = 0; dev < deviceCount; dev++) { cudaDeviceProp deviceProp; cudaGetDeviceProperties(&deviceProp, dev); if (dev == 0) { if (deviceProp.major == 9999 && deviceProp.minor == 9999) {...
.file "tmpxft_002fc455_00000000-6_deviceQuery.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cu...
code for sm_89
#include <hip/hip_runtime.h> #include <cstdio> int deviceQuery() { int deviceCount; hipGetDeviceCount(&deviceCount); for (int dev = 0; dev < deviceCount; dev++) { hipDeviceProp_t deviceProp; hipGetDeviceProperties(&deviceProp, dev); if (dev == 0) { if (deviceProp.major == 9999 &...
.text .file "deviceQuery.hip" .globl _Z11deviceQueryv # -- Begin function _Z11deviceQueryv .type _Z11deviceQueryv,@function _Z11deviceQueryv: # @_Z11deviceQueryv .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq %rbx .cfi_de...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
42f5fc225c2808904de8b501a8f551e538f05c5a
#include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { cudaDeviceProp prop; int count; cudaGetDeviceCount(&count); cout << count << endl; for(int i = 0; i < count;++i) { cudaGetDeviceProperties(&prop,i); printf("Name: %s\n",prop.name); printf("Cumpute capability: %d.%d\n...
.file "tmpxft_003a8a35_00000000-6_device.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_en...
code for sm_89
#include <hip/hip_runtime.h> #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main() { hipDeviceProp_t prop; int count; hipGetDeviceCount(&count); cout << count << endl; for(int i = 0; i < count;++i) { hipGetDeviceProperties(&prop,i); printf("Name: %s\n",prop.name); printf...
.text .file "device.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl main # -- Begin function main .type main,@function main: ...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
14e0e95e9358837d65fc7fe64a91e77304174717
#include "includes.h" __global__ void _bcnn_pow_kernel(int n, float *x, float a, float *y) { int i = (blockIdx.x + blockIdx.y * gridDim.x) * blockDim.x + threadIdx.x; if (i < n) y[i] = pow(x[i], a); }
.file "tmpxft_002e7d49_00000000-6__bcnn_pow_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL2...
code for sm_89 Function : _Z16_bcnn_pow_kerneliPffS_ .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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void _bcnn_pow_kernel(int n, float *x, float a, float *y) { int i = (blockIdx.x + blockIdx.y * gridDim.x) * blockDim.x + threadIdx.x; if (i < n) y[i] = pow(x[i], a); }
.text .file "_bcnn_pow_kernel.hip" .globl _Z31__device_stub___bcnn_pow_kerneliPffS_ # -- Begin function _Z31__device_stub___bcnn_pow_kerneliPffS_ .type _Z31__device_stub___bcnn_pow_kerneliPffS_,@function _Z31__device_stub___bcnn_pow_kerneliPffS_: # @_Z31__device_stub___bcnn_pow_kerneliPffS_ .cfi_startproc # %bb.0:...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z16_bcnn_pow_kerneliPffS_ ; -- Begin function _Z16_bcnn_pow_kerneliPffS_ .globl _Z16_bcnn_pow_kerneliPffS_ .p2align 8 .type _Z16_bcnn_pow_kerneliPffS_,@function _Z16_bcnn_pow_kerneliPffS_: ; @_Z16_bcnn_pow_kerneliPffS_ ; %bb.0: s_clause 0x...
7b352db08b7e9661136688968348d50a18580c3f
#include <iostream> #include <cstdlib> using namespace std; __global__ void MatrixMultiplication(unsigned long* Md, unsigned long* Nd, unsigned long* Pd, int width) { int tx = threadIdx.x; // x-index of threads int ty = threadIdx.y; // y-index of threads // Pvalue stores the Pd element that is computed b...
.file "tmpxft_003a4789_00000000-6_matrix_mul_device.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@P...
code for sm_89 Function : _Z20MatrixMultiplicationPmS_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 */ ...
#include <hip/hip_runtime.h> #include <iostream> #include <cstdlib> using namespace std; __global__ void MatrixMultiplication(unsigned long* Md, unsigned long* Nd, unsigned long* Pd, int width) { int tx = threadIdx.x; // x-index of threads int ty = threadIdx.y; // y-index of threads // Pvalue stores the...
.text .file "matrix_mul_device.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z35__device_stub__MatrixMultiplicationPmS_S_i # -- Begin function _Z35__device_st...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20MatrixMultiplicationPmS_S_i ; -- Begin function _Z20MatrixMultiplicationPmS_S_i .globl _Z20MatrixMultiplicationPmS_S_i .p2align 8 .type _Z20MatrixMultiplicationPmS_S_i,@function _Z20MatrixMultiplicationPmS_S_i: ; @_Z20MatrixMultiplicationPmS_...
3ebe8c6cff3be0a400548566c76d0fa3fafddfcc
#include <stdio.h> #include <string.h> #define tpb 32 __global__ void oddCheck(int* nums,int*len, int* out, int* last){ int index=threadIdx.x + blockIdx.x*tpb; if (index<*len) out[index]=nums[index]%2; if(index==((*len)-1)) *last=out[index]; } __global__ void exToIn(int* inp, int* out, int*len, int*last)...
.file "tmpxft_0026e1ce_00000000-6_q3.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnregis...
code for sm_89 Function : _Z9copyOddsPPiS_S_S_ .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 <string.h> #define tpb 32 __global__ void oddCheck(int* nums,int*len, int* out, int* last){ int index=threadIdx.x + blockIdx.x*tpb; if (index<*len) out[index]=nums[index]%2; if(index==((*len)-1)) *last=out[index]; } __global__ void exToIn(int* inp...
.text .file "q3.hip" .globl _Z23__device_stub__oddCheckPiS_S_S_ # -- Begin function _Z23__device_stub__oddCheckPiS_S_S_ .type _Z23__device_stub__oddCheckPiS_S_S_,@function _Z23__device_stub__oddCheckPiS_S_S_: # @_Z23__device_stub__oddCheckPiS_S_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pus...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8oddCheckPiS_S_S_ ; -- Begin function _Z8oddCheckPiS_S_S_ .globl _Z8oddCheckPiS_S_S_ .p2align 8 .type _Z8oddCheckPiS_S_S_,@function _Z8oddCheckPiS_S_S_: ; @_Z8oddCheckPiS_S_S_ ; %bb.0: s_load_b256 s[0:7], s[0:1], 0x0 v_lshl_ad...
19fff742b779991d8a79f0f34b097ac1203d29f9
#include<stdio.h> #include<cuda.h> #define row1 10 #define col1 10 #define row2 10 #define col2 10 typedef long long int LLI; __global__ void matproductsharedmemory(LLI *l,LLI *m, LLI *n) { LLI x=blockIdx.x; LLI y=blockIdx.y; __shared__ LLI p[col1]; LLI i; LLI k=threadIdx.x; n[col2*y+x]=0...
.file "tmpxft_0036d1e4_00000000-6_matMulShared.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__c...
code for sm_89 Function : _Z22matproductsharedmemoryPxS_S_ .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<stdio.h> #include<hip/hip_runtime.h> #define row1 10 #define col1 10 #define row2 10 #define col2 10 typedef long long int LLI; __global__ void matproductsharedmemory(LLI *l,LLI *m, LLI *n) { LLI x=blockIdx.x; LLI y=blockIdx.y; __shared__ LLI p[col1]; LLI i; LLI k=threadIdx.x; n[...
.text .file "matMulShared.hip" .globl _Z37__device_stub__matproductsharedmemoryPxS_S_ # -- Begin function _Z37__device_stub__matproductsharedmemoryPxS_S_ .type _Z37__device_stub__matproductsharedmemoryPxS_S_,@function _Z37__device_stub__matproductsharedmemoryPxS_S_: # @_Z37__device_stub__matproductsharedmemoryPxS_S...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z22matproductsharedmemoryPxS_S_ ; -- Begin function _Z22matproductsharedmemoryPxS_S_ .globl _Z22matproductsharedmemoryPxS_S_ .p2align 8 .type _Z22matproductsharedmemoryPxS_S_,@function _Z22matproductsharedmemoryPxS_S_: ; @_Z22matproductsharedmemo...
e95d050be467c17a0861625b390975d1235ead19
#include <stdio.h> #include "cuda_profiler_api.h" #define SIZE 20480 __global__ void vecAdd(int *a,int *b, int *c, int len) { int i=threadIdx.x+blockDim.x*blockIdx.x; if(i<len) c[i] = a[i] + b[i]; } void vecAdd_CPU(int *a,int *b, int *c, int len) { int i=0; for(i=0;i<len;i++) c[i] =a[i]+b[i]; } voi...
.file "tmpxft_00247a52_00000000-6_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z6vecAddPiS_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 */ ...
#include <hip/hip_runtime.h> #include <stdio.h> #include "hip/hip_runtime_api.h" #define SIZE 20480 __global__ void vecAdd(int *a,int *b, int *c, int len) { int i=threadIdx.x+blockDim.x*blockIdx.x; if(i<len) c[i] = a[i] + b[i]; } void vecAdd_CPU(int *a,int *b, int *c, int len) { int i=0; for(i=0;i<le...
.text .file "kernel.hip" .globl _Z21__device_stub__vecAddPiS_S_i # -- Begin function _Z21__device_stub__vecAddPiS_S_i .type _Z21__device_stub__vecAddPiS_S_i,@function _Z21__device_stub__vecAddPiS_S_i: # @_Z21__device_stub__vecAddPiS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6vecAddPiS_S_i ; -- Begin function _Z6vecAddPiS_S_i .globl _Z6vecAddPiS_S_i .p2align 8 .type _Z6vecAddPiS_S_i,@function _Z6vecAddPiS_S_i: ; @_Z6vecAddPiS_S_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_b32 ...
af08af39fe4ad1b643987bbbb6356b6a8e55d744
#include<stdlib.h> #include<stdio.h> #include<malloc.h> #include<time.h> #define arm 32 __device__ int globalArray[32]; __global__ void add(int *a,int *c) { int tid = threadIdx.x; int temp=a[tid]; int count=0; while(temp!=0) { count++; temp=temp/2; } atomicAdd(&globalArray[...
.file "tmpxft_002c878b_00000000-6_addcut.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z3addPiS_ .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<stdlib.h> #include<stdio.h> #include<malloc.h> #include<time.h> #define arm 32 __device__ int globalArray[32]; __global__ void add(int *a,int *c) { int tid = threadIdx.x; int temp=a[tid]; int count=0; while(temp!=0) { count++; temp=temp/2; ...
.text .file "addcut.hip" .globl _Z18__device_stub__addPiS_ # -- Begin function _Z18__device_stub__addPiS_ .type _Z18__device_stub__addPiS_,@function _Z18__device_stub__addPiS_: # @_Z18__device_stub__addPiS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3addPiS_ ; -- Begin function _Z3addPiS_ .globl _Z3addPiS_ .p2align 8 .type _Z3addPiS_,@function _Z3addPiS_: ; @_Z3addPiS_ ; %bb.0: s_load_b128 s[0:3], s[0:1], 0x0 v_lshlrev_b32_e32 v0, 2, v0 s_waitcnt lgkmcn...
51ca40353dfc2fb0de2173dc177a98c7d0e7eb13
#include "includes.h" __global__ void calc_lut(int *lut, int * hist_in, int img_size, int nbr_bin){ __shared__ int shared_hist[256]; shared_hist[threadIdx.x] = hist_in[threadIdx.x]; __syncthreads(); __shared__ int cdf[256]; __syncthreads(); int i, min, d; //int cdf = 0; min = 0; i = 0; while(min == 0){ min = share...
.file "tmpxft_00266e95_00000000-6_calc_lut.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaU...
code for sm_89 Function : _Z8calc_lutPiS_ii .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 "includes.h" __global__ void calc_lut(int *lut, int * hist_in, int img_size, int nbr_bin){ __shared__ int shared_hist[256]; shared_hist[threadIdx.x] = hist_in[threadIdx.x]; __syncthreads(); __shared__ int cdf[256]; __syncthreads(); int i, min, d; //int cdf = 0; min = 0; i = 0;...
.text .file "calc_lut.hip" .globl _Z23__device_stub__calc_lutPiS_ii # -- Begin function _Z23__device_stub__calc_lutPiS_ii .type _Z23__device_stub__calc_lutPiS_ii,@function _Z23__device_stub__calc_lutPiS_ii: # @_Z23__device_stub__calc_lutPiS_ii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8calc_lutPiS_ii ; -- Begin function _Z8calc_lutPiS_ii .globl _Z8calc_lutPiS_ii .p2align 8 .type _Z8calc_lutPiS_ii,@function _Z8calc_lutPiS_ii: ; @_Z8calc_lutPiS_ii ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x0 v_lshlrev_b32_e32...
df043cf3d49b58c4f61266773bfadf6bad41ce46
#include <iostream> #include <cuda.h> #include <cstdlib> #include <stdlib.h> #include <stdio.h> #include <time.h> const int BLOCK = 256; __global__ void AddListK(float *I, float *O, int l) { int b = blockIdx.x; int t = threadIdx.x; __shared__ float pSum[BLOCK*2]; unsigned int start = 2*blockDim.x*...
.file "tmpxft_0021dac2_00000000-6_listred.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3640: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_e...
code for sm_89 Function : _Z8AddListKPfS_i .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 <iostream> #include <hip/hip_runtime.h> #include <cstdlib> #include <stdlib.h> #include <stdio.h> #include <time.h> const int BLOCK = 256; __global__ void AddListK(float *I, float *O, int l) { int b = blockIdx.x; int t = threadIdx.x; __shared__ float pSum[BLOCK*2]; unsigned int start = 2*...
.text .file "listred.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z23__device_stub__AddListKPfS_i # -- Begin function _Z23__device_stub__AddListKPfS_i .type...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8AddListKPfS_i ; -- Begin function _Z8AddListKPfS_i .globl _Z8AddListKPfS_i .p2align 8 .type _Z8AddListKPfS_i,@function _Z8AddListKPfS_i: ; @_Z8AddListKPfS_i ; %bb.0: s_clause 0x2 s_load_b32 s5, s[0:1], 0x24 s_load_b32 ...
6efaffd0830c80013802050d329c93825b039d59
#include <stdio.h> #include <cuda_runtime.h> __global__ void test(const int *in, int *answer) { const int tid = threadIdx.x; if (tid == 0) printf("hello!\n"); int sum = in[tid]; if (tid == 0) printf("sum[0] is %d\n", sum); *answer = sum; } int main() { int *h_data, *d_data; int N = 64; ...
.file "tmpxft_00321297_00000000-6_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z4testPKiPi .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 <stdio.h> #include <hip/hip_runtime.h> __global__ void test(const int *in, int *answer) { const int tid = threadIdx.x; if (tid == 0) printf("hello!\n"); int sum = in[tid]; if (tid == 0) printf("sum[0] is %d\n", sum); *answer = sum; } int main() { int *h_data, *d_data; int N = 64;...
.text .file "test.hip" .globl _Z19__device_stub__testPKiPi # -- Begin function _Z19__device_stub__testPKiPi .type _Z19__device_stub__testPKiPi,@function _Z19__device_stub__testPKiPi: # @_Z19__device_stub__testPKiPi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_o...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .p2align 2 ; -- Begin function __ockl_printf_append_string_n .type __ockl_printf_append_string_n,@function __ockl_printf_append_string_n: ; @__ockl_printf_append_string_n ; %bb.0: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) v_dua...
08aea270a5890cd27f59d626ee0d7f9b9e36f525
#include <stdio.h> #define TILE 32 // Thread block dimension #define N 8192 // Side of the matrix #define MATSIZE N * N // Total size of the matrix #define MEMSIZE MATSIZE * sizeof(double) // Size of matrix in memory // Generic function to be called for bandwidth testing on GPUs. typedef void (*kernelFunc)(double *, ...
.file "tmpxft_00271e4d_00000000-6_ex6.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUnregi...
code for sm_89 Function : _Z14transposeNaivePdS_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 */ ...
#include <hip/hip_runtime.h> #include <stdio.h> #define TILE 32 // Thread block dimension #define N 8192 // Side of the matrix #define MATSIZE N * N // Total size of the matrix #define MEMSIZE MATSIZE * sizeof(double) // Size of matrix in memory // Generic function to be called for bandwidth testing on GPUs. typedef...
.text .file "ex6.hip" .globl _Z33__device_stub__transposeOptimizedPdS_i # -- Begin function _Z33__device_stub__transposeOptimizedPdS_i .type _Z33__device_stub__transposeOptimizedPdS_i,@function _Z33__device_stub__transposeOptimizedPdS_i: # @_Z33__device_stub__transposeOptimizedPdS_i .cfi_startproc # %bb.0: pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18transposeOptimizedPdS_i ; -- Begin function _Z18transposeOptimizedPdS_i .globl _Z18transposeOptimizedPdS_i .p2align 8 .type _Z18transposeOptimizedPdS_i,@function _Z18transposeOptimizedPdS_i: ; @_Z18transposeOptimizedPdS_i ; %bb.0: s_clau...
638241afbf406c77f9bc247ee4cbb38134c0afa5
__global__ void findCoordinate(float *A, int *keypoints, int *newKeypoints, int lenght){ int index = blockIdx.x * blockDim.x + threadIdx.x; if(index < lenght){ float a00 = A[0]; float a01 = A[1]; float a10 = A[3]; float a11 = A[4]; float t0 = A[2]; float t1 =...
.file "tmpxft_0037f7d3_00000000-6_findCoordinate.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26_...
code for sm_89 Function : _Z14findCoordinatePfPiS0_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 */ ...
#include <hip/hip_runtime.h> __global__ void findCoordinate(float *A, int *keypoints, int *newKeypoints, int lenght){ int index = blockIdx.x * blockDim.x + threadIdx.x; if(index < lenght){ float a00 = A[0]; float a01 = A[1]; float a10 = A[3]; float a11 = A[4]; float...
.text .file "findCoordinate.hip" .globl _Z29__device_stub__findCoordinatePfPiS0_i # -- Begin function _Z29__device_stub__findCoordinatePfPiS0_i .type _Z29__device_stub__findCoordinatePfPiS0_i,@function _Z29__device_stub__findCoordinatePfPiS0_i: # @_Z29__device_stub__findCoordinatePfPiS0_i .cfi_startproc # %bb.0: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14findCoordinatePfPiS0_i ; -- Begin function _Z14findCoordinatePfPiS0_i .globl _Z14findCoordinatePfPiS0_i .p2align 8 .type _Z14findCoordinatePfPiS0_i,@function _Z14findCoordinatePfPiS0_i: ; @_Z14findCoordinatePfPiS0_i ; %bb.0: s_clause 0x...
be9176cf8d93574aa2a6055cc0a02f854ed22862
#include "Data.cuh" #include "Data_kernel.cuh" #include <fstream> #include <iostream> #include <limits> Data::Data(): rowSize(0), columnSize(0)//, flow(0) { } Data::~Data() { delete[] this->weightLeft; delete[] this->weightRight; delete[] this->weightUp; delete[] this->weightDown; delete[] this...
.file "tmpxft_0022f9b5_00000000-6_Data.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3781: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endp...
code for sm_89
#include <hip/hip_runtime.h> class Data { private: //bool active; size_t rowSize, columnSize; int *weightLeft, *weightRight, *weightUp, *weightDown; int *weightS, *weightT; int *height, *capacity; //int flow; //int *bfsTag; // variables on device (GPU) bool *device_active; int *device_weightLeft, *de...
.text .file "Data.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960fa798...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
0613de5d42b0fe7e7f6061f91a0345cfc4331676
#include<stdio.h> #include<stdlib.h> #include<cuda.h> #include <sys/time.h> #include<thrust/sort.h> #include<math.h> #define BLOCKSIZE 1024 struct vehicle { float time ; int id; }; struct cmp { __host__ __device__ bool operator()(const vehicle& o1, const vehicle& o2) { if (o1.time == o2.time) retur...
.file "tmpxft_00372800_00000000-6_main.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text.nvtxEtiGetModuleFunctionTable_v3,"axG",@progbits,nvtxEtiGetModuleFunctionTable_v3,comdat .weak nvtxEtiGetModuleFunctionTable_v3 .hidden nvtxEtiGetModuleFunctionTable_v3 .type nvtxEtiGetModul...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS11EmptyKernelIvEEvv .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 */ ...
#include<stdio.h> #include<stdlib.h> #include<hip/hip_runtime.h> #include <sys/time.h> #include<thrust/sort.h> #include<math.h> #define BLOCKSIZE 1024 struct vehicle { float time ; int id; }; struct cmp { __host__ __device__ bool operator()(const vehicle& o1, const vehicle& o2) { if (o1.time == o2.time) ...
.text .file "main.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z22__device_stub__dkerneliiiPfiPi # -- Begin function _Z22__device_stub__dkerneliiiPfiPi .typ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7dkerneliiiPfiPi ; -- Begin function _Z7dkerneliiiPfiPi .globl _Z7dkerneliiiPfiPi .p2align 8 .type _Z7dkerneliiiPfiPi,@function _Z7dkerneliiiPfiPi: ; @_Z7dkerneliiiPfiPi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x34 s_l...
71e34126ff879cda4698eae8227c210c85d2d0bf
#include "includes.h" __device__ void out_of_bounds_function(void) { *(int*) 0x87654320 = 42; } __global__ void out_of_bounds_kernel(void) { out_of_bounds_function(); }
.file "tmpxft_003ac8ac_00000000-6_out_of_bounds_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size ...
code for sm_89 Function : _Z20out_of_bounds_kernelv .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 "includes.h" __device__ void out_of_bounds_function(void) { *(int*) 0x87654320 = 42; } __global__ void out_of_bounds_kernel(void) { out_of_bounds_function(); }
.text .file "out_of_bounds_kernel.hip" .globl _Z35__device_stub__out_of_bounds_kernelv # -- Begin function _Z35__device_stub__out_of_bounds_kernelv .type _Z35__device_stub__out_of_bounds_kernelv,@function _Z35__device_stub__out_of_bounds_kernelv: # @_Z35__device_stub__out_of_bounds_kernelv .cfi_startproc # %bb.0: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20out_of_bounds_kernelv ; -- Begin function _Z20out_of_bounds_kernelv .globl _Z20out_of_bounds_kernelv .p2align 8 .type _Z20out_of_bounds_kernelv,@function _Z20out_of_bounds_kernelv: ; @_Z20out_of_bounds_kernelv ; %bb.0: v_mov_b32_e32 v0...
d81e7a945634a16352f9690bacb05671c2fe7220
// Copyright (c) 2013 Craig Wright (kungfucraig@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to use, // copy,...
.file "tmpxft_00259196_00000000-6_square.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z6squarePf .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 */ ...
// Copyright (c) 2013 Craig Wright (kungfucraig@gmail.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documentation files (the "Software"), to deal in // the Software without restriction, including without limitation the rights to use, // copy,...
.text .file "square.hip" .globl _Z21__device_stub__squarePf # -- Begin function _Z21__device_stub__squarePf .type _Z21__device_stub__squarePf,@function _Z21__device_stub__squarePf: # @_Z21__device_stub__squarePf .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_of...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6squarePf ; -- Begin function _Z6squarePf .globl _Z6squarePf .p2align 8 .type _Z6squarePf,@function _Z6squarePf: ; @_Z6squarePf ; %bb.0: s_load_b64 s[0:1], s[0:1], 0x0 v_lshlrev_b32_e32 v0, 2, v0 s_waitcnt lgk...
6354a0390152b4ebc158bc8e461d2101e72542f7
#include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <thrust/transform.h> #include <iostream> struct sample_functor { double alpha; double beta; sample_functor(double _alpha, double _beta) { alpha = _alpha; beta = _beta; } __device__ double operator() ...
.file "tmpxft_0026b524_00000000-6_5.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,comdat .ali...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS6detail8for_each13static_kernelINS2_12policy_hub_t12policy_350_tElN6thrust20THRUST_200700_890_NS8cuda_cub11__transform18binary_transform_fINS7_6detail15normal_iteratorINS7_10device_ptrIdEEEESF_SF_NS9_14no_stencil_tagE14sample_functorNS9_21always_true_predicateEEEE...
#include <hip/hip_runtime.h> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/copy.h> #include <thrust/transform.h> #include <iostream> struct sample_functor { double alpha; double beta; sample_functor(double _alpha, double _beta) { alpha = _alpha; beta = _beta; } ...
.text .file "5.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl main # -- Begin function main .type main,@function main: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .section .text._ZN6thrust11hip_rocprim14__parallel_for6kernelILj256ENS0_20__uninitialized_fill7functorINS_10device_ptrIdEEdEEmLj1EEEvT0_T1_S9_,"axG",@progbits,_ZN6thrust11hip_rocprim14__parallel_for6kernelILj256ENS0_20__uninitialized_fill7functorINS_10device_ptrIdEEd...
e75f65c7a4375e031df3f30e33fa17efeec287c9
#include <stdio.h> #include <stdlib.h> #include <cstdio> #include <cstdlib> #include <fstream> #include <iostream> #include <cuda_runtime.h> #include <chrono> using namespace std; const int INF = ((1 << 30) - 1); // const int V = 50010; void input(char* inFileName); void output(char* outFileName); void block_FW(in...
.file "tmpxft_002d0d7b_00000000-6_hw4-1.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3872: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_end...
code for sm_89 Function : _Z11PHASE_THREEiiPii .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 <stdio.h> #include <stdlib.h> #include <cstdio> #include <cstdlib> #include <fstream> #include <iostream> #include <hip/hip_runtime.h> #include <chrono> using namespace std; const int INF = ((1 << 30) - 1); // const int V = 50010; void input(char* inFileName); void output(char* outFileName); void block_FW...
.text .file "hw4-1.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__PHASE_ONEiiPii # -- Begin function _Z24__device_stub__PHASE_ONEiiPii .type...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9PHASE_ONEiiPii ; -- Begin function _Z9PHASE_ONEiiPii .globl _Z9PHASE_ONEiiPii .p2align 8 .type _Z9PHASE_ONEiiPii,@function _Z9PHASE_ONEiiPii: ; @_Z9PHASE_ONEiiPii ; %bb.0: s_clause 0x1 s_load_b128 s[4:7], s[0:1], 0x0 s_l...
005f06251fd9d753b206cc93144a2f230728b122
#include <stdio.h> #include <cuda_runtime.h> __global__ void kernel(void) { printf("GPU: Hello world\n"); } int main(int argc, char* argv[]) { kernel<<<2, 4>>>(); cudaDeviceSynchronize(); return 0; }
.file "tmpxft_003ad854_00000000-6_intro3.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z6kernelv .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 <stdio.h> #include <hip/hip_runtime.h> __global__ void kernel(void) { printf("GPU: Hello world\n"); } int main(int argc, char* argv[]) { kernel<<<2, 4>>>(); hipDeviceSynchronize(); return 0; }
.text .file "intro3.hip" .globl _Z21__device_stub__kernelv # -- Begin function _Z21__device_stub__kernelv .type _Z21__device_stub__kernelv,@function _Z21__device_stub__kernelv: # @_Z21__device_stub__kernelv .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6kernelv ; -- Begin function _Z6kernelv .globl _Z6kernelv .p2align 8 .type _Z6kernelv,@function _Z6kernelv: ; @_Z6kernelv ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x50 v_mbcnt_lo_u32_b32 v2, -1, 0 v_mov_b32_e32 v...
a80f79cc0dc5ef4de72eb54412be1f478a6453e4
#include "user.cuh" using namespace std; int main(int argc, char *argv[]) { // Preapre file I/O string fileName; if (argc == 1) fileName = "maxFloatNum.csv"; else fileName = argv[1]; CSV_Data cd(fileName, true); // Generate Vector printf("[INFO] Generating vector...\n"); float minVal ...
.file "tmpxft_0024d6a1_00000000-6_main.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4854: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endp...
code for sm_89
#include <hip/hip_runtime.h> #include "user.cuh" using namespace std; int main(int argc, char *argv[]) { // Preapre file I/O string fileName; if (argc == 1) fileName = "maxFloatNum.csv"; else fileName = argv[1]; CSV_Data cd(fileName, true); // Generate Vector printf("[INFO] Generating ve...
.text .file "main.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function m...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
1b1cca838fd3663980289ba960c81e8600421755
#include <iostream> __global__ void vecAddKernel(float *A, float *B, float *C, int n) { int i = blockDim.x * blockIdx.x + threadIdx.x; if(i < n) { C[i] = A[i] + B[i]; } } void vecAdd(float* h_A, float* h_B, float* h_C, int n) { int size = n * sizeof(float); float *d_A, *d_B, *d_C; ...
.file "tmpxft_0022a70d_00000000-6_add.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3639: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endpr...
code for sm_89 Function : _Z12vecAddKernelPfS_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 */ ...
#include <hip/hip_runtime.h> #include <iostream> __global__ void vecAddKernel(float *A, float *B, float *C, int n) { int i = blockDim.x * blockIdx.x + threadIdx.x; if(i < n) { C[i] = A[i] + B[i]; } } void vecAdd(float* h_A, float* h_B, float* h_C, int n) { int size = n * sizeof(float); ...
.text .file "add.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z27__device_stub__vecAddKernelPfS_S_i # -- Begin function _Z27__device_stub__vecAddKernelPfS_S_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12vecAddKernelPfS_S_i ; -- Begin function _Z12vecAddKernelPfS_S_i .globl _Z12vecAddKernelPfS_S_i .p2align 8 .type _Z12vecAddKernelPfS_S_i,@function _Z12vecAddKernelPfS_S_i: ; @_Z12vecAddKernelPfS_S_i ; %bb.0: s_clause 0x1 s_load_b32 s...