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
56ebc17b659ef6f95d7aebcfa2e63b344fb2b114
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northeastern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy o...
.file "tmpxft_003b6ed7_00000000-6_Unary.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3060: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE3060: .size _ZL26__cudaUnre...
code for sm_89
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northeastern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy o...
.text .file "Unary.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-...
2c53747dac41a5abd6ae8c14a0123c38d021e76e
/* void cureTest() { float sqrt }*/
.file "tmpxft_003396bb_00000000-6_reuse.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> /* void cureTest() { float sqrt }*/
.text .file "reuse.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-...
3e61aef18e8153d13233110c02c3b1d2959872de
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/time.h> #define BLOCK_SIZE 8 #define GRID_SIZE 8 //struct timespec start, finish; //double elapsed; __global__ void ising_kernel(int *G,int *newG,double *w,int n){ int x,y; __shared__ double shared_w[25]; __shared__...
.file "tmpxft_002834ef_00000000-6_ising-v3.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__cudaU...
code for sm_89 Function : _Z12ising_kernelPiS_Pdi .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 <string.h> #include <math.h> #include <sys/time.h> #define BLOCK_SIZE 8 #define GRID_SIZE 8 //struct timespec start, finish; //double elapsed; __global__ void ising_kernel(int *G,int *newG,double *w,int n){ int x,y; __shared__ do...
.text .file "ising-v3.hip" .globl _Z27__device_stub__ising_kernelPiS_Pdi # -- Begin function _Z27__device_stub__ising_kernelPiS_Pdi .type _Z27__device_stub__ising_kernelPiS_Pdi,@function _Z27__device_stub__ising_kernelPiS_Pdi: # @_Z27__device_stub__ising_kernelPiS_Pdi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12ising_kernelPiS_Pdi ; -- Begin function _Z12ising_kernelPiS_Pdi .globl _Z12ising_kernelPiS_Pdi .p2align 8 .type _Z12ising_kernelPiS_Pdi,@function _Z12ising_kernelPiS_Pdi: ; @_Z12ising_kernelPiS_Pdi ; %bb.0: s_clause 0x1 s_load_b128 ...
930260532af539e6ba35a1d8671ce259670b43e4
#include <stdlib.h> #include <stdio.h> #include <cuda_runtime.h> #include <math.h> #include <locale.h> #include <cuda.h> #define BLOCK_SIZE 250 #define GRID_SIZE 4 #define THREAD_SIZE 1000 #define CUDA_FLOAT float __global__ void pi_kern(double *res) { int n = threadIdx.x + blockIdx.x * BLOCK_SIZE; CU...
.file "tmpxft_00351c80_00000000-6_pi.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 : _Z7pi_kernPd .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 <stdlib.h> #include <stdio.h> #include <hip/hip_runtime.h> #include <math.h> #include <locale.h> #define BLOCK_SIZE 250 #define GRID_SIZE 4 #define THREAD_SIZE 1000 #define CUDA_FLOAT float __global__ void pi_kern(double *res) { int n = threadIdx.x + blockIdx.x * BLOCK_SIZE; CUDA_FLOAT x0 = ...
.text .file "pi.hip" .globl _Z22__device_stub__pi_kernPd # -- Begin function _Z22__device_stub__pi_kernPd .type _Z22__device_stub__pi_kernPd,@function _Z22__device_stub__pi_kernPd: # @_Z22__device_stub__pi_kernPd .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_off...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7pi_kernPd ; -- Begin function _Z7pi_kernPd .globl _Z7pi_kernPd .p2align 8 .type _Z7pi_kernPd,@function _Z7pi_kernPd: ; @_Z7pi_kernPd ; %bb.0: v_mad_u64_u32 v[1:2], null, 0xfa, s15, v[0:1] s_load_b64 s[0:1], s[0:...
f7bfa20035abe28cceb69376a15fbd2ace47d366
/** * Copyright 1993-2012 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and relate...
.file "tmpxft_003315ff_00000000-6_getTRN.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 nvtxEtiGetMod...
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 */ ...
/** * Copyright 1993-2012 NVIDIA Corporation. All rights reserved. * * Please refer to the NVIDIA end user license agreement (EULA) associated * with this source code for terms and conditions that govern your use of * this software. Any use, reproduction, disclosure, or distribution of * this software and relate...
.text .file "getTRN.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z25__device_stub__TRNGkernelii # -- Begin function _Z25__device_stub__TRNGkernelii .type _Z...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10TRNGkernelii ; -- Begin function _Z10TRNGkernelii .globl _Z10TRNGkernelii .p2align 8 .type _Z10TRNGkernelii,@function _Z10TRNGkernelii: ; @_Z10TRNGkernelii ; %bb.0: v_lshlrev_b32_e32 v3, 2, v0 s_load_b64 s[0:1], s[0:1]...
359bbb8fda1660204f80790874c7fc594ba32d20
#include <stdio.h> #include <stdlib.h> #define CONFIGURATION_COUNT 250000 struct Tick { long timestamp; double open; double high; double low; double close; double sma13; double ema50; double ema100; double ema200; double rsi; double stochK; double stochD; double prc...
.file "tmpxft_0035e82a_00000000-6_dataAlgorithm2.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_...
code for sm_89 Function : _Z18backtestStrategiesP8StrategyP4Tick .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 CONFIGURATION_COUNT 250000 struct Tick { long timestamp; double open; double high; double low; double close; double sma13; double ema50; double ema100; double ema200; double rsi; double stochK; ...
.text .file "dataAlgorithm2.hip" .globl _Z35__device_stub__initializeStrategiesP8Strategy # -- Begin function _Z35__device_stub__initializeStrategiesP8Strategy .type _Z35__device_stub__initializeStrategiesP8Strategy,@function _Z35__device_stub__initializeStrategiesP8Strategy: # @_Z35__device_stub__initializeStrateg...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .p2align 2 ; -- Begin function _Z8backtestP8StrategyP4Tick .type _Z8backtestP8StrategyP4Tick,@function _Z8backtestP8StrategyP4Tick: ; @_Z8backtestP8StrategyP4Tick ; %bb.0: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) s_setpc_b64...
31348c8b9f580d04a4b0e21b308872777ba66e44
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <math.h> #include <time.h> typedef struct bmpFileHeaderStruct { /* 2 bytes de identificación */ uint32_t size; /* Tamaño del archivo */ uint16_t resv1; /* Reservado */ uint16_t resv2; /* Reservado */ ui...
.file "tmpxft_0034ebe4_00000000-6_bmp.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2036: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2036: .size _ZL26__cudaUnregi...
code for sm_89 Function : _Z8BWkernelPhj .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 <stdint.h> #include <string.h> #include <math.h> #include <time.h> typedef struct bmpFileHeaderStruct { /* 2 bytes de identificación */ uint32_t size; /* Tamaño del archivo */ uint16_t resv1; /* Reservado */ uint16_t res...
.text .file "bmp.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z2BWPhP19bmpInfoHeaderStruct .LCPI0_0: .quad 0x3fbd2f1a9fbe76c9 # double 0.114 .LCPI0_1: .quad 0x3fe2c8b439581062 # double 0.58699999999999997 .LCPI0_2: .quad 0x3fd...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13ConvMatKernelPhS_jjiPf ; -- Begin function _Z13ConvMatKernelPhS_jjiPf .globl _Z13ConvMatKernelPhS_jjiPf .p2align 8 .type _Z13ConvMatKernelPhS_jjiPf,@function _Z13ConvMatKernelPhS_jjiPf: ; @_Z13ConvMatKernelPhS_jjiPf ; %bb.0: s_clause 0x...
512a588b455015fb7527b070338fa86a076432d4
#include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <stdio.h> #include <cuda_runtime.h> #include <sys/time.h> double cpuSecond() { struct timeval tp; gettimeofday(&tp, NULL); return ((double) tp.tv_sec + (double) tp.tv_usec * 1.e-6); } #define CHECK(call) ...
.file "tmpxft_0032e333_00000000-6_conflicts8.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2035: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2035: .size _ZL26__cud...
code for sm_89 Function : _Z14sumArraysOnGpuPfS_S_PiS0_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 */ ...
#include <stdlib.h> #include <string.h> #include <time.h> #include <math.h> #include <stdio.h> #include <hip/hip_runtime.h> #include <sys/time.h> double cpuSecond() { struct timeval tp; gettimeofday(&tp, NULL); return ((double) tp.tv_sec + (double) tp.tv_usec * 1.e-6); } #define CHECK(call) ...
.text .file "conflicts8.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z9cpuSecondv .LCPI0_0: .quad 0x3eb0c6f7a0b5ed8d # double 9.9999999999999995E-7 .text .globl _Z9cpuSecondv .type _Z9cpuSecondv,@function _Z9cpuSecondv: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14sumArraysOnGpuPfS_S_PiS0_ii ; -- Begin function _Z14sumArraysOnGpuPfS_S_PiS0_ii .globl _Z14sumArraysOnGpuPfS_S_PiS0_ii .p2align 8 .type _Z14sumArraysOnGpuPfS_S_PiS0_ii,@function _Z14sumArraysOnGpuPfS_S_PiS0_ii: ; @_Z14sumArraysOnGpuPfS_S_PiS0...
01d173798579405f603efaf87aa9c6219286308e
#include <stdio.h> __global__ void reduce0(int *g_idata, int *g_odata) { extern __shared__ int sdata[]; // each thread loads one element from global to shared mem unsigned int tid = threadIdx.x; unsigned int i = blockIdx.x*blockDim.x + threadIdx.x; sdata[tid] = g_idata[i]; __syncth...
.file "tmpxft_0034d4e3_00000000-6_reduction_all.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2035: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2035: .size _ZL26__...
code for sm_89 Function : _Z7reduce6ILj512EEvPiS0_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 <stdio.h> __global__ void reduce0(int *g_idata, int *g_odata) { extern __shared__ int sdata[]; // each thread loads one element from global to shared mem unsigned int tid = threadIdx.x; unsigned int i = blockIdx.x*blockDim.x + threadIdx.x; sdata[tid...
.text .file "reduction_all.hip" .globl _Z22__device_stub__reduce0PiS_ # -- Begin function _Z22__device_stub__reduce0PiS_ .type _Z22__device_stub__reduce0PiS_,@function _Z22__device_stub__reduce0PiS_: # @_Z22__device_stub__reduce0PiS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7reduce0PiS_ ; -- Begin function _Z7reduce0PiS_ .globl _Z7reduce0PiS_ .p2align 8 .type _Z7reduce0PiS_,@function _Z7reduce0PiS_: ; @_Z7reduce0PiS_ ; %bb.0: s_clause 0x1 s_load_b32 s5, s[0:1], 0x1c s_load_b128 s[0:3],...
321eb013ffae4bc16d378389272644e2cb29d191
// This example demonstrates a parallel sum reduction // using two kernel launches #include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdlib.h> #include <stdio.h> #include <vector> #include <numeric> #include <iostream> #include <time.h> double secuential(const double a[] , int dim,bool verbose...
.file "tmpxft_002eca5f_00000000-6_entrega2_2.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4041: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89 Function : _Z9pre_sigmaPdid .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 example demonstrates a parallel sum reduction // using two kernel launches #include "hip/hip_runtime.h" #include <stdlib.h> #include <stdio.h> #include <vector> #include <numeric> #include <iostream> #include <time.h> double secuential(const double a[] , int dim,bool verbose){ double mean=0; for(int i=0; i...
.text .file "entrega2_2.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z10secuentialPKdib # -- Begin function _Z10secuentialPKdib .type _Z10secuen...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9reduccionPKdPdm ; -- Begin function _Z9reduccionPKdPdm .globl _Z9reduccionPKdPdm .p2align 8 .type _Z9reduccionPKdPdm,@function _Z9reduccionPKdPdm: ; @_Z9reduccionPKdPdm ; %bb.0: s_clause 0x2 s_load_b32 s5, s[0:1], 0x24 s_l...
d7cbcd079683c8ebe9b1b8309823fd8faf461646
#include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <time.h> const int N = 1024; // 正方行列のサイズを指定(N×N) const int BLOCK = 16; // ブロックのサイズを指定 double cpuSecond(); __global__ void matrixMul(int *dMatA, int *dMatB, int *dMatC) { int col = blockIdx.x * blockDim.x + threadIdx.x; int row = blockIdx.y * blo...
.file "tmpxft_002b1d03_00000000-6_GPUmatmul_org.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__...
code for sm_89 Function : _Z9matrixMulPiS_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 */ /* 0x000fe40000000f...
#include <hip/hip_runtime.h> #include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <time.h> const int N = 1024; // 正方行列のサイズを指定(N×N) const int BLOCK = 16; // ブロックのサイズを指定 double cpuSecond(); __global__ void matrixMul(int *dMatA, int *dMatB, int *dMatC) { int col = blockIdx.x * blockDim.x + threadIdx.x...
.text .file "GPUmatmul_org.hip" .globl _Z24__device_stub__matrixMulPiS_S_ # -- Begin function _Z24__device_stub__matrixMulPiS_S_ .type _Z24__device_stub__matrixMulPiS_S_,@function _Z24__device_stub__matrixMulPiS_S_: # @_Z24__device_stub__matrixMulPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9matrixMulPiS_S_ ; -- Begin function _Z9matrixMulPiS_S_ .globl _Z9matrixMulPiS_S_ .p2align 8 .type _Z9matrixMulPiS_S_,@function _Z9matrixMulPiS_S_: ; @_Z9matrixMulPiS_S_ ; %bb.0: s_endpgm .section .rodata,"a",@progbits .p2a...
66d3683cc59c6e604cf9749fbb50802752a9dc51
#include <stdio.h> #include "cuda.h" #define max(x,y) ((x) > (y)? (x) : (y)) #define min(x,y) ((x) < (y)? (x) : (y)) #define ceil(a,b) ((a) % (b) == 0 ? (a) / (b) : ((a) / (b)) + 1) void check_error (const char* message) { cudaError_t error = cudaGetLastError (); if (error != cudaSuccess) { printf ("CUDA error :...
.file "tmpxft_003114d9_00000000-6_reordered-e.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__cu...
code for sm_89 Function : _Z7j2d81ptPdS_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 <stdio.h> #include "hip/hip_runtime.h" #define max(x,y) ((x) > (y)? (x) : (y)) #define min(x,y) ((x) < (y)? (x) : (y)) #define ceil(a,b) ((a) % (b) == 0 ? (a) / (b) : ((a) / (b)) + 1) void check_error (const char* message) { hipError_t error = hipGetLastError (); if (error != hipSuccess) { printf ("CUDA...
.text .file "reordered-e.hip" .globl _Z11check_errorPKc # -- Begin function _Z11check_errorPKc .type _Z11check_errorPKc,@function _Z11check_errorPKc: # @_Z11check_errorPKc .cfi_startproc # %bb.0: pushq %rbx .cfi_def_cfa_offset 16 .cfi_offset %rbx, -16 movq %rdi, %rbx callq hip...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7j2d81ptPdS_i ; -- Begin function _Z7j2d81ptPdS_i .globl _Z7j2d81ptPdS_i .p2align 8 .type _Z7j2d81ptPdS_i,@function _Z7j2d81ptPdS_i: ; @_Z7j2d81ptPdS_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_load_b32 s3, ...
c2f17c492b94bd9bab27ac75d137a179b2caa71a
#include<iostream> #include<fstream> #include<string> #include<cstdlib> #include<cstring> #include<vector> #include<iterator> #include<ctime> #include<limits> using namespace std; struct info_edge { int vertex1,vertex2; int weight; }; void extract_data(vector<info_edge> &adjacency,char* str) { int i,n=1,m=0; int ver...
.file "tmpxft_0036caed_00000000-6_top_driven_bellman_ford.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4166: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBi...
code for sm_89
#include <hip/hip_runtime.h> #include<iostream> #include<fstream> #include<string> #include<cstdlib> #include<cstring> #include<vector> #include<iterator> #include<ctime> #include<limits> using namespace std; struct info_edge { int vertex1,vertex2; int weight; }; void extract_data(vector<info_edge> &adjacency,char*...
.text .file "top_driven_bellman_ford.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z12extract_dataRSt6vectorI9info_edgeSaIS0_EEPc # -- Begin function _Z12extr...
.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-...
b7a493569513114d2d0bcf0acac5810a611d1d7a
#include <stdio.h> #include "cuda.h" #define max(x,y) ((x) > (y)? (x) : (y)) #define min(x,y) ((x) < (y)? (x) : (y)) #define ceil(a,b) ((a) % (b) == 0 ? (a) / (b) : ((a) / (b)) + 1) void check_error (const char* message) { cudaError_t error = cudaGetLastError (); if (error != cudaSuccess) { printf ("CUDA error :...
.file "tmpxft_002d2a7e_00000000-6_sw4-reg-3.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 : _Z5sw4_3PdS_S_S_S_S_S_S_S_S_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 <stdio.h> #include "hip/hip_runtime.h" #define max(x,y) ((x) > (y)? (x) : (y)) #define min(x,y) ((x) < (y)? (x) : (y)) #define ceil(a,b) ((a) % (b) == 0 ? (a) / (b) : ((a) / (b)) + 1) void check_error (const char* message) { hipError_t error = hipGetLastError (); if (error != hipSuccess) { printf ("CUDA...
.text .file "sw4-reg-3.hip" .globl _Z11check_errorPKc # -- Begin function _Z11check_errorPKc .type _Z11check_errorPKc,@function _Z11check_errorPKc: # @_Z11check_errorPKc .cfi_startproc # %bb.0: pushq %rbx .cfi_def_cfa_offset 16 .cfi_offset %rbx, -16 movq %rdi, %rbx callq hipGe...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z5sw4_1PdS_S_S_S_S_S_S_S_S_S_i ; -- Begin function _Z5sw4_1PdS_S_S_S_S_S_S_S_S_S_i .globl _Z5sw4_1PdS_S_S_S_S_S_S_S_S_S_i .p2align 8 .type _Z5sw4_1PdS_S_S_S_S_S_S_S_S_S_i,@function _Z5sw4_1PdS_S_S_S_S_S_S_S_S_S_i: ; @_Z5sw4_1PdS_S_S_S_S_S_S_S_S_...
1c04690c5d1fe1940d5ce89b39e758624299a884
#include <cuda.h> #include <stdio.h> #include <stdlib.h> #define thread_num 16 /*inline void CUDA_ERROR_CHECK(const cudaError_t &err){ if(err != cudaSuccess){ fprintf(stderr, "CUDA error: %s\n", cudaGetErrorString(err)); exit(EXIT_FAILURE); } }*/ __device__ int mandel(float x, float y, int maxIterations){ floa...
.file "tmpxft_0024081d_00000000-6_kernel3.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 : _Z12mandelKernelffffPiiiimm .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> #define thread_num 16 /*inline void CUDA_ERROR_CHECK(const cudaError_t &err){ if(err != cudaSuccess){ fprintf(stderr, "CUDA error: %s\n", cudaGetErrorString(err)); exit(EXIT_FAILURE); } }*/ __device__ int mandel(float x, float y, int maxIterati...
.text .file "kernel3.hip" .globl _Z27__device_stub__mandelKernelffffPiiiimm # -- Begin function _Z27__device_stub__mandelKernelffffPiiiimm .type _Z27__device_stub__mandelKernelffffPiiiimm,@function _Z27__device_stub__mandelKernelffffPiiiimm: # @_Z27__device_stub__mandelKernelffffPiiiimm .cfi_startproc # %bb.0: pu...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12mandelKernelffffPiiiimm ; -- Begin function _Z12mandelKernelffffPiiiimm .globl _Z12mandelKernelffffPiiiimm .p2align 8 .type _Z12mandelKernelffffPiiiimm,@function _Z12mandelKernelffffPiiiimm: ; @_Z12mandelKernelffffPiiiimm ; %bb.0: s_clau...
b07db293d432c08d21959cd731675dadf003ea21
#include<cuda.h> #include<stdio.h> #include<cuda_runtime.h> #include <cuda_profiler_api.h> #define NSTREAM 8 void matricMul(int *A, int *B, int *C, int size) { for (int col = 0; col < size; col++) { for (int row = 0; row < size; row++) { int outidx = col * size + row; for (int idx = 0; idx < size; idx++) { ...
.file "tmpxft_00255170_00000000-6_matrixMulDepth.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_...
code for sm_89 Function : _Z14matrixMulDepthPiS_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 NSTREAM 8 void matricMul(int *A, int *B, int *C, int size) { for (int col = 0; col < size; col++) { for (int row = 0; row < size; row++) { int outidx = col * size + row; for (int idx = 0; idx < size; idx++) { C[outidx...
.text .file "matrixMulDepth.hip" .globl _Z9matricMulPiS_S_i # -- Begin function _Z9matricMulPiS_S_i .type _Z9matricMulPiS_S_i,@function _Z9matricMulPiS_S_i: # @_Z9matricMulPiS_S_i .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14matrixMulDepthPiS_S_i ; -- Begin function _Z14matrixMulDepthPiS_S_i .globl _Z14matrixMulDepthPiS_S_i .p2align 8 .type _Z14matrixMulDepthPiS_S_i,@function _Z14matrixMulDepthPiS_S_i: ; @_Z14matrixMulDepthPiS_S_i ; %bb.0: s_clause 0x1 s_...
481354617fdac0b2f08e9bdf9cd300121b269295
#include "includes.h" __global__ void CutSubImageKernel_SingleParams(float *input, float *output, float subImageX, float subImageY, float subImageDiameter, bool safeBounds, int inputWidth, int inputHeight, int outputWidth, int outputHeight) { int id = blockDim.x * blockIdx.y * gridDim.x + blockDim.x * blockIdx.x + thre...
.file "tmpxft_00320236_00000000-6_CutSubImageKernel_SingleParams.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 .LFE201...
code for sm_89 Function : _Z30CutSubImageKernel_SingleParamsPfS_fffbiiii .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 CutSubImageKernel_SingleParams(float *input, float *output, float subImageX, float subImageY, float subImageDiameter, bool safeBounds, int inputWidth, int inputHeight, int outputWidth, int outputHeight) { int id = blockDim.x * blockIdx.y * gridDim.x + ...
.text .file "CutSubImageKernel_SingleParams.hip" .globl _Z45__device_stub__CutSubImageKernel_SingleParamsPfS_fffbiiii # -- Begin function _Z45__device_stub__CutSubImageKernel_SingleParamsPfS_fffbiiii .type _Z45__device_stub__CutSubImageKernel_SingleParamsPfS_fffbiiii,@function _Z45__device_stub__CutSubImageKernel_S...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z30CutSubImageKernel_SingleParamsPfS_fffbiiii ; -- Begin function _Z30CutSubImageKernel_SingleParamsPfS_fffbiiii .globl _Z30CutSubImageKernel_SingleParamsPfS_fffbiiii .p2align 8 .type _Z30CutSubImageKernel_SingleParamsPfS_fffbiiii,@function _Z30CutSubI...
e08e377fdaed709f73782b2ee088b3b3f322c97a
#include "includes.h" __device__ void devVecAdd(size_t pointDim, double* dest, double* src) { for(size_t i = 0; i < pointDim; ++i) { dest[i] += src[i]; } } __global__ void kernElementWiseSum(const size_t numPoints, const size_t pointDim, double* dest, double* src) { // Called to standardize arrays to be a power of two ...
.file "tmpxft_0023f217_00000000-6_kernElementWiseSum.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 _Z...
code for sm_89 Function : _Z18kernElementWiseSummmPdS_ .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 devVecAdd(size_t pointDim, double* dest, double* src) { for(size_t i = 0; i < pointDim; ++i) { dest[i] += src[i]; } } __global__ void kernElementWiseSum(const size_t numPoints, const size_t pointDim, double* dest, double* src) { // Called to standardiz...
.text .file "kernElementWiseSum.hip" .globl _Z33__device_stub__kernElementWiseSummmPdS_ # -- Begin function _Z33__device_stub__kernElementWiseSummmPdS_ .type _Z33__device_stub__kernElementWiseSummmPdS_,@function _Z33__device_stub__kernElementWiseSummmPdS_: # @_Z33__device_stub__kernElementWiseSummmPdS_ .cfi_startp...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18kernElementWiseSummmPdS_ ; -- Begin function _Z18kernElementWiseSummmPdS_ .globl _Z18kernElementWiseSummmPdS_ .p2align 8 .type _Z18kernElementWiseSummmPdS_,@function _Z18kernElementWiseSummmPdS_: ; @_Z18kernElementWiseSummmPdS_ ; %bb.0: s...
98a5260345094ecf050b9e95e0d490585aa56fd5
#include <cuda.h> #include <cuda_runtime.h> #include <stdio.h> // this is the program that is to be run on the device for a // large number of threads, in our example 100 // each thread takes care of one entry in the number array, // so in order for the thread to know which number to manipulate, // a scheme has to be...
.file "tmpxft_002e4921_00000000-6_main_really_simple.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 Function : _Z27incrementArrayViaCUDAdevicePii .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> // this is the program that is to be run on the device for a // large number of threads, in our example 100 // each thread takes care of one entry in the number array, // so in order for the thread to know which number to manipulate, // a scheme has to be utilized in o...
.text .file "main_really_simple.hip" .globl _Z42__device_stub__incrementArrayViaCUDAdevicePii # -- Begin function _Z42__device_stub__incrementArrayViaCUDAdevicePii .type _Z42__device_stub__incrementArrayViaCUDAdevicePii,@function _Z42__device_stub__incrementArrayViaCUDAdevicePii: # @_Z42__device_stub__incrementArra...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z27incrementArrayViaCUDAdevicePii ; -- Begin function _Z27incrementArrayViaCUDAdevicePii .globl _Z27incrementArrayViaCUDAdevicePii .p2align 8 .type _Z27incrementArrayViaCUDAdevicePii,@function _Z27incrementArrayViaCUDAdevicePii: ; @_Z27incrementArr...
5959fb02e5fc3e3c4d3a4d910726b24466b689a3
#include "includes.h" /* Location qualifiers __global__ Defines a kernel. Runs on the GPU, called from the CPU. Executed with <<<dim3>>> arguments. __device__ Runs on the GPU, called from the GPU. Can be used for variables too. __host__ Runs on the CPU, called from the CPU. Qualifiers can be mixed Eg __host__...
.file "tmpxft_0020737e_00000000-6_addArrays.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__cuda...
code for sm_89 Function : _Z9addArraysPiS_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" /* Location qualifiers __global__ Defines a kernel. Runs on the GPU, called from the CPU. Executed with <<<dim3>>> arguments. __device__ Runs on the GPU, called from the GPU. Can be used for variables too. __host__ Runs on the CPU, called from the CPU. Quali...
.text .file "addArrays.hip" .globl _Z24__device_stub__addArraysPiS_S_ # -- Begin function _Z24__device_stub__addArraysPiS_S_ .type _Z24__device_stub__addArraysPiS_S_,@function _Z24__device_stub__addArraysPiS_S_: # @_Z24__device_stub__addArraysPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9addArraysPiS_S_ ; -- Begin function _Z9addArraysPiS_S_ .globl _Z9addArraysPiS_S_ .p2align 8 .type _Z9addArraysPiS_S_,@function _Z9addArraysPiS_S_: ; @_Z9addArraysPiS_S_ ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x0 v_lshlrev_b32...
64e0568057576fd246994b6461ebd01503da4ddd
#include <stdio.h> #include <stdlib.h> #include <iostream> #include <cuda.h> #include <curand.h> #include <curand_kernel.h> #include <cuda_runtime.h> #define ROW 5000 #define COL 5000 __global__ void matrixAddition(float *a, float *b, float *c, int N){ int index = threadIdx.x + blockIdx.x * blockDim.x; if( index <...
.file "tmpxft_0023b234_00000000-6_main.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3852: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endp...
code for sm_89 Function : _Z10testmemcpyPdS_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 <stdio.h> #include <stdlib.h> #include <iostream> #include <hip/hip_runtime.h> #include <hiprand/hiprand.h> #include <hiprand/hiprand_kernel.h> #define ROW 5000 #define COL 5000 __global__ void matrixAddition(float *a, float *b, float *c, int N){ int index = threadIdx.x + blockIdx.x * blockDim.x; if( ind...
.text .file "main.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z29__device_stub__matrixAdditionPfS_S_i # -- Begin function _Z29__device_stub__matrixAdditionP...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14matrixAdditionPfS_S_i ; -- Begin function _Z14matrixAdditionPfS_S_i .globl _Z14matrixAdditionPfS_S_i .p2align 8 .type _Z14matrixAdditionPfS_S_i,@function _Z14matrixAdditionPfS_S_i: ; @_Z14matrixAdditionPfS_S_i ; %bb.0: s_clause 0x1 s_...
773798f83ef7020aec431b6f089f2f7617d2f2a8
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include<time.h> #define BLOCK_SIZE 32 __global__ void gpu_matrix_mult(long *a, long *b, long *c, int m, int n, int k) { int row = blockIdx.y * blockDim.y + threadIdx.y; int col = blockIdx.x * blockDim.x + threadIdx.x; int sum = 0; if (row < m) { ...
.file "tmpxft_003b1cc9_00000000-6_kernel.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__cudaUnr...
code for sm_89 Function : _Z15gpu_matrix_multPlS_S_iii .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> #include <assert.h> #include<time.h> #define BLOCK_SIZE 32 __global__ void gpu_matrix_mult(long *a, long *b, long *c, int m, int n, int k) { int row = blockIdx.y * blockDim.y + threadIdx.y; int col = blockIdx.x * blockDim.x + threadIdx.x; in...
.text .file "kernel.hip" .globl _Z30__device_stub__gpu_matrix_multPlS_S_iii # -- Begin function _Z30__device_stub__gpu_matrix_multPlS_S_iii .type _Z30__device_stub__gpu_matrix_multPlS_S_iii,@function _Z30__device_stub__gpu_matrix_multPlS_S_iii: # @_Z30__device_stub__gpu_matrix_multPlS_S_iii .cfi_startproc # %bb.0:...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15gpu_matrix_multPlS_S_iii ; -- Begin function _Z15gpu_matrix_multPlS_S_iii .globl _Z15gpu_matrix_multPlS_S_iii .p2align 8 .type _Z15gpu_matrix_multPlS_S_iii,@function _Z15gpu_matrix_multPlS_S_iii: ; @_Z15gpu_matrix_multPlS_S_iii ; %bb.0: s...
bd3cc2f25a3cb03c46dcb940e18a17480afe5210
#include<stdio.h> #include<cuda.h> #include<math.h> #include<float.h> #define CUDA_CALL(x) do { cudaError_t err=(x); \ if(err!=cudaSuccess) { \ printf("Error %s at %s: %d",cudaGetErrorString(err),__FILE__,__LINE__);\ return EXIT_FAILURE;}} while(0) #define W 64 // Input DIM #define D 3 // Input and Kernel Dep...
.file "tmpxft_0031ddd1_00000000-6_stridedConvolution.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 _Z...
code for sm_89 Function : _Z12cudaConvolvePfPiPh .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> #include<math.h> #include<float.h> #define CUDA_CALL(x) do { hipError_t err=(x); \ if(err!=hipSuccess) { \ printf("Error %s at %s: %d",hipGetErrorString(err),__FILE__,__LINE__);\ return EXIT_FAILURE;}} while(0) #define W 64 // Input DIM #define D 3 // Input and Ke...
.text .file "stridedConvolution.hip" .globl _Z27__device_stub__cudaConvolvePfPiPh # -- Begin function _Z27__device_stub__cudaConvolvePfPiPh .type _Z27__device_stub__cudaConvolvePfPiPh,@function _Z27__device_stub__cudaConvolvePfPiPh: # @_Z27__device_stub__cudaConvolvePfPiPh .cfi_startproc # %bb.0: pushq %r15 .cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12cudaConvolvePfPiPh ; -- Begin function _Z12cudaConvolvePfPiPh .globl _Z12cudaConvolvePfPiPh .p2align 8 .type _Z12cudaConvolvePfPiPh,@function _Z12cudaConvolvePfPiPh: ; @_Z12cudaConvolvePfPiPh ; %bb.0: s_clause 0x2 s_load_b32 s8, s...
afeaee1c8bb0cff34e064fbe7a13aa2b26651f9f
#include <iostream> #include <thrust/sort.h> using namespace std; bool searchFunction(int *array, int *array2, int k, int m){ int first = array2[k]; int second = array[k]; for (int i=0; i<m; i++){ if (array[i]>first){ return false; } else if (array[i]==first){ if (array2[i]==second){ return tr...
.file "tmpxft_002cc6c7_00000000-6_graphTransformation.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 ...
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 <hip/hip_runtime.h> #include <iostream> #include <thrust/sort.h> using namespace std; bool searchFunction(int *array, int *array2, int k, int m){ int first = array2[k]; int second = array[k]; for (int i=0; i<m; i++){ if (array[i]>first){ return false; } else if (array[i]==first){ if (arr...
.text .file "graphTransformation.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z14searchFunctionPiS_ii # -- Begin function _Z14searchFunctionPiS_ii .t...
.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-...
1e2142898b890ec052c4a7d279f47838de57a5ab
/* * model.c * * */ #include <math.h> #include <cuda.h> struct model_data_ { double mygamma; double *theta; int N_samples; int N_sensors; } model_data; extern "C" __global__ void GPU_model(double *g, double *d,double *theta,double mygamma,int N_samples,int N_sensors) { int ix= bloc...
.file "tmpxft_00210c27_00000000-6_model.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__cudaUnre...
code for sm_89 Function : GPU_model .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 */ ...
/* * model.c * * */ #include <math.h> #include <hip/hip_runtime.h> struct model_data_ { double mygamma; double *theta; int N_samples; int N_sensors; } model_data; extern "C" __global__ void GPU_model(double *g, double *d,double *theta,double mygamma,int N_samples,int N_sensors) { i...
.text .file "model.hip" .globl __device_stub__GPU_model # -- Begin function __device_stub__GPU_model .type __device_stub__GPU_model,@function __device_stub__GPU_model: # @__device_stub__GPU_model .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 p...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected GPU_model ; -- Begin function GPU_model .globl GPU_model .p2align 8 .type GPU_model,@function GPU_model: ; @GPU_model ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x34 s_load_b64 s[8:9], s[0:1], 0x20 v_and_...
40fb1b00646620ad238e44c142950c7051e16351
// // http://forums.nvidia.com/index.php?showtopic=34309 // #include <stdio.h> // called from host, run on device __global__ void add_arrays_gpu(float *in1,float *in2,float *out) { int idx=threadIdx.x; // flat model out[idx]=in1[idx]+in2[idx]; } int main() { cudaDeviceProp c; cudaGetDeviceProperties(&c, 0)...
.file "tmpxft_003856e8_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 : _Z14add_arrays_gpuPfS_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 */ ...
// // http://forums.nvidia.com/index.php?showtopic=34309 // #include <hip/hip_runtime.h> #include <stdio.h> // called from host, run on device __global__ void add_arrays_gpu(float *in1,float *in2,float *out) { int idx=threadIdx.x; // flat model out[idx]=in1[idx]+in2[idx]; } int main() { hipDeviceProp_t c; ...
.text .file "test.hip" .globl _Z29__device_stub__add_arrays_gpuPfS_S_ # -- Begin function _Z29__device_stub__add_arrays_gpuPfS_S_ .type _Z29__device_stub__add_arrays_gpuPfS_S_,@function _Z29__device_stub__add_arrays_gpuPfS_S_: # @_Z29__device_stub__add_arrays_gpuPfS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14add_arrays_gpuPfS_S_ ; -- Begin function _Z14add_arrays_gpuPfS_S_ .globl _Z14add_arrays_gpuPfS_S_ .p2align 8 .type _Z14add_arrays_gpuPfS_S_,@function _Z14add_arrays_gpuPfS_S_: ; @_Z14add_arrays_gpuPfS_S_ ; %bb.0: s_load_b128 s[4:7], s...
26d45f80886a6f29fa0d2e3d8d40c9998c9e9270
#include <stdio.h> __global__ void math_sqrt(float *a, float *b) { *b = sqrt(*a); } int main() { float a, b; float *d_a, *d_b; a = 4; cudaMalloc((void **) &d_a, sizeof(float)); cudaMalloc((void **) &d_b, sizeof(float)); cudaMemcpy(d_a, &a, sizeof(float), cudaMemcpyHostToDevice); ...
.file "tmpxft_0025aca0_00000000-6_main.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 : _Z9math_sqrtPfS_ .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 math_sqrt(float *a, float *b) { *b = sqrt(*a); } int main() { float a, b; float *d_a, *d_b; a = 4; hipMalloc((void **) &d_a, sizeof(float)); hipMalloc((void **) &d_b, sizeof(float)); hipMemcpy(d_a, &a, sizeof(float), h...
.text .file "main.hip" .globl _Z24__device_stub__math_sqrtPfS_ # -- Begin function _Z24__device_stub__math_sqrtPfS_ .type _Z24__device_stub__math_sqrtPfS_,@function _Z24__device_stub__math_sqrtPfS_: # @_Z24__device_stub__math_sqrtPfS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9math_sqrtPfS_ ; -- Begin function _Z9math_sqrtPfS_ .globl _Z9math_sqrtPfS_ .p2align 8 .type _Z9math_sqrtPfS_,@function _Z9math_sqrtPfS_: ; @_Z9math_sqrtPfS_ ; %bb.0: s_load_b128 s[0:3], s[0:1], 0x0 s_waitcnt lgkmcnt(0) ...
591f0014401009105ca0b170fb8b918b1c8c5c58
#include "includes.h" long N = 6400000000; int doPrint = 0; /////////////////////////////////////////////////////////////////////////////////////////////////////////// // HELPER CODE TO INITIALIZE, PRINT AND TIME struct timeval start, end; __global__ void gpu_sqrt(float* a, long N) { long element = blockIdx.x*blockDi...
.file "tmpxft_0027c15e_00000000-6_gpu_sqrt.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 : _Z8gpu_sqrtPfl .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" long N = 6400000000; int doPrint = 0; /////////////////////////////////////////////////////////////////////////////////////////////////////////// // HELPER CODE TO INITIALIZE, PRINT AND TIME struct timeval start, end; __global__ void gpu_sqrt(float* a, long N) { lon...
.text .file "gpu_sqrt.hip" .globl _Z23__device_stub__gpu_sqrtPfl # -- Begin function _Z23__device_stub__gpu_sqrtPfl .type _Z23__device_stub__gpu_sqrtPfl,@function _Z23__device_stub__gpu_sqrtPfl: # @_Z23__device_stub__gpu_sqrtPfl .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8gpu_sqrtPfl ; -- Begin function _Z8gpu_sqrtPfl .globl _Z8gpu_sqrtPfl .p2align 8 .type _Z8gpu_sqrtPfl,@function _Z8gpu_sqrtPfl: ; @_Z8gpu_sqrtPfl ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x1c s_load_b128 s[0:3],...
da6b121454511c496f79c97a21403c2e53bd102e
#include <cuda_runtime.h> __global__ void fdiv_rn_global(float x, float y, float *r) { *r = __fdiv_rn(x, y); } float cuda_fdiv_rn(float x, float y) { float *gpu_result, result; cudaMalloc((void **)&gpu_result, sizeof(float)); fdiv_rn_global<<<1, 1>>>(x, y, gpu_result); cudaMemcpy(&result, gpu_res...
.file "tmpxft_00286b7f_00000000-6_div.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2012: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2012: .size _ZL26__cudaUnregi...
code for sm_89 Function : _Z15fdividef_globalffPf .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 fdiv_rn_global(float x, float y, float *r) { *r = __fdiv_rn(x, y); } float cuda_fdiv_rn(float x, float y) { float *gpu_result, result; hipMalloc((void **)&gpu_result, sizeof(float)); fdiv_rn_global<<<1, 1>>>(x, y, gpu_result); hipMemcpy(&result, gpu_re...
.text .file "div.hip" .globl _Z29__device_stub__fdiv_rn_globalffPf # -- Begin function _Z29__device_stub__fdiv_rn_globalffPf .type _Z29__device_stub__fdiv_rn_globalffPf,@function _Z29__device_stub__fdiv_rn_globalffPf: # @_Z29__device_stub__fdiv_rn_globalffPf .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14fdiv_rn_globalffPf ; -- Begin function _Z14fdiv_rn_globalffPf .globl _Z14fdiv_rn_globalffPf .p2align 8 .type _Z14fdiv_rn_globalffPf,@function _Z14fdiv_rn_globalffPf: ; @_Z14fdiv_rn_globalffPf ; %bb.0: s_load_b128 s[0:3], s[0:1], 0x...
6af1742ed420553076ba7d3ca5acd2c8dbe0236b
#include <stdio.h> #include <math.h> #include <sys/time.h> #include <stdlib.h> #define N 1024 #define HEADER_SIZE (54) #define LENGTH (3*N*N) #define screenh N #define screenw N typedef unsigned char byte_t; void BMPwrite(byte_t* bmp) { int i; FILE *file; file = fopen("cuda.bmp", "w+"); for(i = 0; i < LENGT...
.file "tmpxft_0024a815_00000000-6_bmp.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__cudaUnregi...
code for sm_89 Function : _Z9cudaColorPh .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 <math.h> #include <sys/time.h> #include <stdlib.h> #define N 1024 #define HEADER_SIZE (54) #define LENGTH (3*N*N) #define screenh N #define screenw N typedef unsigned char byte_t; void BMPwrite(byte_t* bmp) { int i; FILE *file; file = fopen("cuda.bmp",...
.text .file "bmp.hip" .globl _Z8BMPwritePh # -- Begin function _Z8BMPwritePh .type _Z8BMPwritePh,@function _Z8BMPwritePh: # @_Z8BMPwritePh .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pushq %rbx .cfi_def_cfa_offset 32 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9cudaColorPh ; -- Begin function _Z9cudaColorPh .globl _Z9cudaColorPh .p2align 8 .type _Z9cudaColorPh,@function _Z9cudaColorPh: ; @_Z9cudaColorPh ; %bb.0: s_load_b32 s2, s[0:1], 0x14 v_bfe_u32 v1, v0, 10, 10 s_load_...
2ea1fb0f1d05caf59b235d4e3135038b2178b824
#include "includes.h" __global__ void calculate_A_ch_3(float* rho, float* dz, float* s_a, int npix, int nchannels, int nimages, float* A_ch) { int i = blockIdx.x*blockDim.x + threadIdx.x; int j = blockIdx.y*blockDim.y + threadIdx.y; int c = blockIdx.z*blockDim.z + threadIdx.z; if (i < npix && j < nimages) { A_ch[c*npix...
.file "tmpxft_00324b90_00000000-6_calculate_A_ch_3.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 : _Z16calculate_A_ch_3PfS_S_iiiS_ .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 calculate_A_ch_3(float* rho, float* dz, float* s_a, int npix, int nchannels, int nimages, float* A_ch) { int i = blockIdx.x*blockDim.x + threadIdx.x; int j = blockIdx.y*blockDim.y + threadIdx.y; int c = blockIdx.z*blockDim.z + threadIdx.z; if (i < npix...
.text .file "calculate_A_ch_3.hip" .globl _Z31__device_stub__calculate_A_ch_3PfS_S_iiiS_ # -- Begin function _Z31__device_stub__calculate_A_ch_3PfS_S_iiiS_ .type _Z31__device_stub__calculate_A_ch_3PfS_S_iiiS_,@function _Z31__device_stub__calculate_A_ch_3PfS_S_iiiS_: # @_Z31__device_stub__calculate_A_ch_3PfS_S_iiiS_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z16calculate_A_ch_3PfS_S_iiiS_ ; -- Begin function _Z16calculate_A_ch_3PfS_S_iiiS_ .globl _Z16calculate_A_ch_3PfS_S_iiiS_ .p2align 8 .type _Z16calculate_A_ch_3PfS_S_iiiS_,@function _Z16calculate_A_ch_3PfS_S_iiiS_: ; @_Z16calculate_A_ch_3PfS_S_ii...
3576b4d51f3ad3678e8d2d6dbe6e0b49209ce5f1
/* This is a automatically generated test. Do not modify */ #include <stdio.h> #include <stdlib.h> #include <math.h> __global__ void compute(float comp, int 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,float ...
.file "tmpxft_003aa84f_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 : _Z7computefiffffffffffffffffffffffffffffff .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 */ ...
/* 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, int 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,fl...
.text .file "test.hip" .globl _Z22__device_stub__computefiffffffffffffffffffffffffffffff # -- Begin function _Z22__device_stub__computefiffffffffffffffffffffffffffffff .type _Z22__device_stub__computefiffffffffffffffffffffffffffffff,@function _Z22__device_stub__computefiffffffffffffffffffffffffffffff: # @_Z22__devi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7computefiffffffffffffffffffffffffffffff ; -- Begin function _Z7computefiffffffffffffffffffffffffffffff .globl _Z7computefiffffffffffffffffffffffffffffff .p2align 8 .type _Z7computefiffffffffffffffffffffffffffffff,@function _Z7computefifffffffffffffff...
fc54ba1c8154636399ddfb158d2f626c461098b9
#include <thrust/device_vector.h> #include <iostream> #include <cuda.h> #include <cuda_runtime.h> #include <sys/time.h> __global__ void increment(int *data_ptr) { (*data_ptr)++; } __global__ void at_increment(int *data_ptr) { atomicAdd(data_ptr, 1); } int main(void) { thrust::device_vector<int> data_ptr(1); ...
.file "tmpxft_0035f177_00000000-6_data_races.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,com...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS6detail8for_each13static_kernelINS2_12policy_hub_t12policy_350_tEmN6thrust20THRUST_200700_890_NS8cuda_cub20__uninitialized_fill7functorINS7_10device_ptrIiEEiEEEEvT0_T1_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(E...
#include <thrust/device_vector.h> #include <iostream> #include <hip/hip_runtime.h> #include <sys/time.h> __global__ void increment(int *data_ptr) { (*data_ptr)++; } __global__ void at_increment(int *data_ptr) { atomicAdd(data_ptr, 1); } int main(void) { thrust::device_vector<int> data_ptr(1); data_ptr[0] =...
.text .file "data_races.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__incrementPi # -- Begin function _Z24__device_stub__incrementPi .type...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9incrementPi ; -- Begin function _Z9incrementPi .globl _Z9incrementPi .p2align 8 .type _Z9incrementPi,@function _Z9incrementPi: ; @_Z9incrementPi ; %bb.0: s_load_b64 s[0:1], s[0:1], 0x0 s_waitcnt lgkmcnt(0) s_load_b...
86bbb53cf0660ea6338295c9c4dee9929f7cfeeb
#include <string> #include <iostream> #include <cstdlib> #include <fstream> #include <cmath> #include <iomanip> #include <cstring> #include <chrono> #define mu 0 #define pi 3.141 #define HANDLE_ERROR( err ) (HandleError( err, __FILE__, __LINE__ )) // useful MACRO to check for errors using namespace std; static vo...
.file "tmpxft_0033bdc6_00000000-6_convolution_2D.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4116: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ...
code for sm_89 Function : _Z17convolution_gpu_yPK5PixelPS_PKfiiii .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 <string> #include <iostream> #include <cstdlib> #include <fstream> #include <cmath> #include <iomanip> #include <cstring> #include <chrono> #define mu 0 #define pi 3.141 #define HANDLE_ERROR( err ) (HandleError( err, __FILE__, __LINE__ )) // useful MACRO to check for errors u...
.text .file "convolution_2D.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z32__device_stub__convolution_gpu_xPK5PixelPS_PKfiiii # -- Begin function _Z32__devi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17convolution_gpu_xPK5PixelPS_PKfiiii ; -- Begin function _Z17convolution_gpu_xPK5PixelPS_PKfiiii .globl _Z17convolution_gpu_xPK5PixelPS_PKfiiii .p2align 8 .type _Z17convolution_gpu_xPK5PixelPS_PKfiiii,@function _Z17convolution_gpu_xPK5PixelPS_PKfiiii...
92b56deeb4e423b2f13412a30d8e0b34a04bd0eb
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> // adds array elements in a loop like normal void addArrays(int* a, int* b, int* c, int count) { for (int i = 0; i < count; i++) { c[i] = a[i] + b[i]; } } // simulates adding each element in a separate thread indexed b...
.file "tmpxft_002c9265_00000000-6_hello_world.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 Function : _Z13addArraysCUDAPiS_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> // adds array elements in a loop like normal void addArrays(int* a, int* b, int* c, int count) { for (int i = 0; i < count; i++) { c[i] = a[i] + b[i]; } } // simulates adding each element in a separate thread indexed by `i` void addArraysThread(int* a,...
.text .file "hello_world.hip" .globl _Z9addArraysPiS_S_i # -- Begin function _Z9addArraysPiS_S_i .type _Z9addArraysPiS_S_i,@function _Z9addArraysPiS_S_i: # @_Z9addArraysPiS_S_i .cfi_startproc # %bb.0: testl %ecx, %ecx jle .LBB0_3 # %bb.1: # %.lr.ph.pr...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13addArraysCUDAPiS_S_ ; -- Begin function _Z13addArraysCUDAPiS_S_ .globl _Z13addArraysCUDAPiS_S_ .p2align 8 .type _Z13addArraysCUDAPiS_S_,@function _Z13addArraysCUDAPiS_S_: ; @_Z13addArraysCUDAPiS_S_ ; %bb.0: s_load_b128 s[4:7], s[0:1]...
855a06c107ba541f33bcee7d4158fa92922c2bb8
#define FENCE_KERNEL(ID,ASM_STR)\ extern "C" __global__ void fences_kernel_ ## ID(\ volatile float *OUT, volatile float *IN)\ {\ int id = blockDim.x * blockIdx.x + threadIdx.x;\ OUT[id] = IN[id+1] + 1.0f;\ asm(ASM_STR);\ OUT[id+1] = IN[id] + 2.0f;\ } // same as .acq_rel (since that's default) FENCE_KERNEL(...
.file "tmpxft_00251423_00000000-6_fences.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 : fences_kernel_threadfence_system .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> #define FENCE_KERNEL(ID,ASM_STR)\ extern "C" __global__ void fences_kernel_ ## ID(\ volatile float *OUT, volatile float *IN)\ {\ int id = blockDim.x * blockIdx.x + threadIdx.x;\ OUT[id] = IN[id+1] + 1.0f;\ asm(ASM_STR);\ OUT[id+1] = IN[id] + 2.0f;\ } // same as .acq_rel (since...
.text .file "fences.hip" .globl __device_stub__fences_kernel_fence__cta # -- Begin function __device_stub__fences_kernel_fence__cta .type __device_stub__fences_kernel_fence__cta,@function __device_stub__fences_kernel_fence__cta: # @__device_stub__fences_kernel_fence__cta .cfi_startproc # %bb.0: pushq %r15 .cfi_d...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected fences_kernel_fence__cta ; -- Begin function fences_kernel_fence__cta .globl fences_kernel_fence__cta .p2align 8 .type fences_kernel_fence__cta,@function fences_kernel_fence__cta: ; @fences_kernel_fence__cta ; %bb.0: s_clause 0x1 s_load_...
254318575fad9c6cc34137f84a9f3ac8680f1239
/* * Copyright (c) 2016, Ville Timonen * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list of co...
.file "tmpxft_0033aeff_00000000-6_compare.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 : compareD .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> /* * Copyright (c) 2016, Ville Timonen * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright...
.text .file "compare.hip" .globl __device_stub__compare # -- Begin function __device_stub__compare .type __device_stub__compare,@function __device_stub__compare: # @__device_stub__compare .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 compare ; -- Begin function compare .globl compare .p2align 8 .type compare,@function compare: ; @compare ; %bb.0: s_clause 0x1 s_load_b64 s[2:3], s[0:1], 0x10 s_load_b128 s[4:7], s[0:1], 0x0 v_mov_b32_...
40b563be59ab603d9b08caa960cb072a97593779
#include "includes.h" __global__ void cudaDinv_kernel(unsigned int size, const double *x, double *y) { const unsigned int index = blockIdx.x * blockDim.x + threadIdx.x; const unsigned int stride = blockDim.x * gridDim.x; for (unsigned int i = index; i < size; i += stride) { y[i] = 1.0 / x[i]; } }
.file "tmpxft_002c2366_00000000-6_cudaDinv_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 : _Z15cudaDinv_kerneljPKdPd .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 cudaDinv_kernel(unsigned int size, const double *x, double *y) { const unsigned int index = blockIdx.x * blockDim.x + threadIdx.x; const unsigned int stride = blockDim.x * gridDim.x; for (unsigned int i = index; i < size; i += stride) { y[i] = 1.0 / x...
.text .file "cudaDinv_kernel.hip" .globl _Z30__device_stub__cudaDinv_kerneljPKdPd # -- Begin function _Z30__device_stub__cudaDinv_kerneljPKdPd .type _Z30__device_stub__cudaDinv_kerneljPKdPd,@function _Z30__device_stub__cudaDinv_kerneljPKdPd: # @_Z30__device_stub__cudaDinv_kerneljPKdPd .cfi_startproc # %bb.0: push...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15cudaDinv_kerneljPKdPd ; -- Begin function _Z15cudaDinv_kerneljPKdPd .globl _Z15cudaDinv_kerneljPKdPd .p2align 8 .type _Z15cudaDinv_kerneljPKdPd,@function _Z15cudaDinv_kerneljPKdPd: ; @_Z15cudaDinv_kerneljPKdPd ; %bb.0: s_clause 0x1 s_...
f3a25fc196cecd47edf7c4fb4b89ac4dbc13d98d
#include "includes.h" __global__ void normalizeGradient(float* gradient, int* activeMask, int activePatches, int patches) { int i = threadIdx.x + blockIdx.x * blockDim.x; if (i >= activePatches) return; int patch = activeMask[i]; float norm = gradient[6 * patches + patch]; if (norm > 0) norm = 1.0f / sqrtf(norm); fo...
.file "tmpxft_0037e47d_00000000-6_normalizeGradient.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 _ZL...
code for sm_89 Function : _Z17normalizeGradientPfPiii .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 normalizeGradient(float* gradient, int* activeMask, int activePatches, int patches) { int i = threadIdx.x + blockIdx.x * blockDim.x; if (i >= activePatches) return; int patch = activeMask[i]; float norm = gradient[6 * patches + patch]; if (norm > 0) ...
.text .file "normalizeGradient.hip" .globl _Z32__device_stub__normalizeGradientPfPiii # -- Begin function _Z32__device_stub__normalizeGradientPfPiii .type _Z32__device_stub__normalizeGradientPfPiii,@function _Z32__device_stub__normalizeGradientPfPiii: # @_Z32__device_stub__normalizeGradientPfPiii .cfi_startproc # ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17normalizeGradientPfPiii ; -- Begin function _Z17normalizeGradientPfPiii .globl _Z17normalizeGradientPfPiii .p2align 8 .type _Z17normalizeGradientPfPiii,@function _Z17normalizeGradientPfPiii: ; @_Z17normalizeGradientPfPiii ; %bb.0: s_clau...
71808122ce28f306966e7656235e5f82969f0520
#include <iostream> #include <stdio.h> #include <cuda_runtime.h> #define MIN(a, b) (a<b?a:b) #define BLOCK_SIZE 32 struct Matrix { int height; int width; int *el; int stride; __host__ __device__ Matrix(int height, int width, int stride ): height(height), width(width),stride(stride){} __host__ __device__ M...
.file "tmpxft_0034350e_00000000-6_matrixMultiplication.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3649: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinar...
code for sm_89 Function : _Z15MatrixMulKernel6MatrixS_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 <iostream> #include <stdio.h> #include <hip/hip_runtime.h> #define MIN(a, b) (a<b?a:b) #define BLOCK_SIZE 32 struct Matrix { int height; int width; int *el; int stride; __host__ __device__ Matrix(int height, int width, int stride ): height(height), width(width),stride(stride){} __host__ __device__ ...
.text .file "matrixMultiplication.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z30__device_stub__MatrixMulKernel6MatrixS_S_ # -- Begin function _Z30__device_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15MatrixMulKernel6MatrixS_S_ ; -- Begin function _Z15MatrixMulKernel6MatrixS_S_ .globl _Z15MatrixMulKernel6MatrixS_S_ .p2align 8 .type _Z15MatrixMulKernel6MatrixS_S_,@function _Z15MatrixMulKernel6MatrixS_S_: ; @_Z15MatrixMulKernel6MatrixS_S_ ;...
fc937a4f48212f15af9f7aba1c7af04e9e917560
#include<stdio.h> __global__ void kernel(int i){ printf("hello world %d \n", i); }; int main(){ int const n_stream = 5; cudaStream_t *ls_stream; ls_stream = (cudaStream_t*) new cudaStream_t[n_stream]; for (int i=0; i<n_stream; i++){ cudaStreamCreate(&ls_stream[i]); } for(int i...
.file "tmpxft_002d25d8_00000000-6_stream.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 : _Z6kerneli .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 kernel(int i){ printf("hello world %d \n", i); }; int main(){ int const n_stream = 5; hipStream_t *ls_stream; ls_stream = (hipStream_t*) new hipStream_t[n_stream]; for (int i=0; i<n_stream; i++){ hipStreamCreate(&ls_stream[...
.text .file "stream.hip" .globl _Z21__device_stub__kerneli # -- Begin function _Z21__device_stub__kerneli .type _Z21__device_stub__kerneli,@function _Z21__device_stub__kerneli: # @_Z21__device_stub__kerneli .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 _Z6kerneli ; -- Begin function _Z6kerneli .globl _Z6kerneli .p2align 8 .type _Z6kerneli,@function _Z6kerneli: ; @_Z6kerneli ; %bb.0: s_load_b64 s[4:5], s[0:1], 0x58 v_mbcnt_lo_u32_b32 v30, -1, 0 v_mov_b32_e32 ...
268cb4d9b955c697f965f5d396e8fda72049ab64
#include <stdio.h> // kernel __global__ void add_vectors(int *c, int *a, int *b, int n){ // printf("Add vectors function\n"); // printf("n value: %i \n", n); int index = threadIdx.x; int stride = blockDim.x; // int index = blockIdx.x * blockDim.x + threadIdx.x; // int stride = blockDi...
.file "tmpxft_002eaab8_00000000-6_new.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__cudaUnregi...
code for sm_89 Function : _Z11add_vectorsPiS_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> // kernel __global__ void add_vectors(int *c, int *a, int *b, int n){ // printf("Add vectors function\n"); // printf("n value: %i \n", n); int index = threadIdx.x; int stride = blockDim.x; // int index = blockIdx.x * blockDim.x + threadIdx.x; ...
.text .file "new.hip" .globl _Z26__device_stub__add_vectorsPiS_S_i # -- Begin function _Z26__device_stub__add_vectorsPiS_S_i .type _Z26__device_stub__add_vectorsPiS_S_i,@function _Z26__device_stub__add_vectorsPiS_S_i: # @_Z26__device_stub__add_vectorsPiS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11add_vectorsPiS_S_i ; -- Begin function _Z11add_vectorsPiS_S_i .globl _Z11add_vectorsPiS_S_i .p2align 8 .type _Z11add_vectorsPiS_S_i,@function _Z11add_vectorsPiS_S_i: ; @_Z11add_vectorsPiS_S_i ; %bb.0: s_load_b32 s8, s[0:1], 0x18 s...
0a72024cec242c7e3c472f9965a436d91ee8c4ae
#include <cuda.h> #define BLOCK_SIZE_X 16 #define BLOCK_SIZE_Y 16 #define PI 3.14159265358979323846 #define WINDOW 6 #define NUM_ITER 64 __global__ void conv2(float *A, float *B,uint8_t *C, int height, int width, int window){ int row = threadIdx.x + blockIdx.x*blockDim.x; int col = threadIdx.y + blo...
.file "tmpxft_00214ee0_00000000-6_mpicuda.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__cudaUn...
code for sm_89 Function : _Z5conv2PfS_Phiii .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> #define BLOCK_SIZE_X 16 #define BLOCK_SIZE_Y 16 #define PI 3.14159265358979323846 #define WINDOW 6 #define NUM_ITER 64 __global__ void conv2(float *A, float *B,uint8_t *C, int height, int width, int window){ int row = threadIdx.x + blockIdx.x*blockDim.x; int col = thread...
.text .file "mpicuda.hip" .globl _Z20__device_stub__conv2PfS_Phiii # -- Begin function _Z20__device_stub__conv2PfS_Phiii .type _Z20__device_stub__conv2PfS_Phiii,@function _Z20__device_stub__conv2PfS_Phiii: # @_Z20__device_stub__conv2PfS_Phiii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z5conv2PfS_Phiii ; -- Begin function _Z5conv2PfS_Phiii .globl _Z5conv2PfS_Phiii .p2align 8 .type _Z5conv2PfS_Phiii,@function _Z5conv2PfS_Phiii: ; @_Z5conv2PfS_Phiii ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x34 s_load_...
58f812ffeb311c2cef1a80595f92f128439f5efe
#include <iostream> #include <chrono> int main(int argc, char *argv[]) { int n = atoi(argv[1]); //TODO: atoi is an unsafe function int nbiter = atoi(argv[2]); float *array = new float[n]; for(int i = 0; i < n; ++i) array[i] = 1.; float *d_array; cudaMallocHost((void **)&d_array, n *...
.file "tmpxft_00200287_00000000-6_p_lock_bw.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3745: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi...
code for sm_89
#include <hip/hip_runtime.h> #include <iostream> #include <chrono> int main(int argc, char *argv[]) { int n = atoi(argv[1]); //TODO: atoi is an unsafe function int nbiter = atoi(argv[2]); float *array = new float[n]; for(int i = 0; i < n; ++i) array[i] = 1.; float *d_array; hipHost...
.text .file "p_lock_bw.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 funct...
.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-...
7b641c25085d78b1347140bb4688a728491bdbfd
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <cuda.h> #define TAM 10 #define TAMBLOCK 2 __global__ void reducirVector(float *dest, float *origin, int *BLOCKS){ if(blockIdx.x==0){ float counter=0.0f; for(int i=0;i<*BLOCKS;++i){ for(int j=0;j<TAMBLOCK;++j){ counter+=orig...
.file "tmpxft_002b12d7_00000000-6_reducirVector.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__...
code for sm_89 Function : _Z13reducirVectorPfS_Pi .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 <math.h> #include <hip/hip_runtime.h> #define TAM 10 #define TAMBLOCK 2 __global__ void reducirVector(float *dest, float *origin, int *BLOCKS){ if(blockIdx.x==0){ float counter=0.0f; for(int i=0;i<*BLOCKS;++i){ for(int j=0;j<TAMBLOCK;++j){ co...
.text .file "reducirVector.hip" .globl _Z28__device_stub__reducirVectorPfS_Pi # -- Begin function _Z28__device_stub__reducirVectorPfS_Pi .type _Z28__device_stub__reducirVectorPfS_Pi,@function _Z28__device_stub__reducirVectorPfS_Pi: # @_Z28__device_stub__reducirVectorPfS_Pi .cfi_startproc # %bb.0: pushq %r15 .cfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13reducirVectorPfS_Pi ; -- Begin function _Z13reducirVectorPfS_Pi .globl _Z13reducirVectorPfS_Pi .p2align 8 .type _Z13reducirVectorPfS_Pi,@function _Z13reducirVectorPfS_Pi: ; @_Z13reducirVectorPfS_Pi ; %bb.0: s_cmp_lg_u32 s15, 0 s_cbr...
003307ecc6c90023ddd47ae2f5aeec1939279912
#include <iostream> #include <cstdlib> #include <cstdio> #include <cassert> using namespace std; __global__ void euler1 (float2 *pos, float2* vel, float2 *acc, float dt, float box) { int i=threadIdx.x+blockDim.x*blockIdx.x; //Moves a particle using Euler pos[i].x += vel[i].x * dt; pos[i].y += vel[i].y * dt; ...
.file "tmpxft_00395108_00000000-6_3_SerialvsCUDA.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 : _Z6euler1P6float2S0_S0_ff .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> #include <cstdio> #include <cassert> using namespace std; __global__ void euler1 (float2 *pos, float2* vel, float2 *acc, float dt, float box) { int i=threadIdx.x+blockDim.x*blockIdx.x; //Moves a particle using Euler pos[i].x += vel[i].x * dt; ...
.text .file "3_SerialvsCUDA.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z21__device_stub__euler1P15HIP_vector_typeIfLj2EES1_S1_ff # -- Begin function _Z21__...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6euler1P15HIP_vector_typeIfLj2EES1_S1_ff ; -- Begin function _Z6euler1P15HIP_vector_typeIfLj2EES1_S1_ff .globl _Z6euler1P15HIP_vector_typeIfLj2EES1_S1_ff .p2align 8 .type _Z6euler1P15HIP_vector_typeIfLj2EES1_S1_ff,@function _Z6euler1P15HIP_vector_type...
e738ed1addd69f411d6d6d6e1263115242c87e70
#include "includes.h" #define FIBER 32 #define MATRIX_SIZE 2048 #define DATA_SIZE MATRIX_SIZE * MATRIX_SIZE * sizeof(int) #define MAX_MATRIX_SIZE (MATRIX_SIZE * MATRIX_SIZE) using namespace std; __global__ void kernel_shared(int *A, int *C, int *B, int *result) { __shared__ int shared_memory[FIBER][FIBER]; int i...
.file "tmpxft_0030406f_00000000-6_kernel_shared.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 : _Z13kernel_sharedPiS_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" #define FIBER 32 #define MATRIX_SIZE 2048 #define DATA_SIZE MATRIX_SIZE * MATRIX_SIZE * sizeof(int) #define MAX_MATRIX_SIZE (MATRIX_SIZE * MATRIX_SIZE) using namespace std; __global__ void kernel_shared(int *A, int *C, int *B, int *result) { __shared__ int share...
.text .file "kernel_shared.hip" .globl _Z28__device_stub__kernel_sharedPiS_S_S_ # -- Begin function _Z28__device_stub__kernel_sharedPiS_S_S_ .type _Z28__device_stub__kernel_sharedPiS_S_S_,@function _Z28__device_stub__kernel_sharedPiS_S_S_: # @_Z28__device_stub__kernel_sharedPiS_S_S_ .cfi_startproc # %bb.0: pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13kernel_sharedPiS_S_S_ ; -- Begin function _Z13kernel_sharedPiS_S_S_ .globl _Z13kernel_sharedPiS_S_S_ .p2align 8 .type _Z13kernel_sharedPiS_S_S_,@function _Z13kernel_sharedPiS_S_S_: ; @_Z13kernel_sharedPiS_S_S_ ; %bb.0: s_load_b32 s8, s...
fb1ab970b8961adb49bf417a6c16730fdf060863
extern "C" __global__ void sigmoid(float* a, int n) { int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < n) { a[i] = 1.0f / (expf(-a[i]) + 1.0f); } }
.file "tmpxft_00233455_00000000-6_sigmoid.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 : sigmoid .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" __global__ void sigmoid(float* a, int n) { int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < n) { a[i] = 1.0f / (expf(-a[i]) + 1.0f); } }
.text .file "sigmoid.hip" .globl __device_stub__sigmoid # -- Begin function __device_stub__sigmoid .type __device_stub__sigmoid,@function __device_stub__sigmoid: # @__device_stub__sigmoid .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 sigmoid ; -- Begin function sigmoid .globl sigmoid .p2align 8 .type sigmoid,@function sigmoid: ; @sigmoid ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x1c s_load_b32 s3, s[0:1], 0x8 s_waitcnt lgkmcnt(0...
bdd7d7e3ec78d8339c60fb431418c1be8c17493a
__device__ float multiplyByTwo(float number){ return number * 2.0f; } __device__ float divideByTwo(float number){ return number * 0.5f; }
.file "tmpxft_0026ad65_00000000-6_simpleDeviceLibrary.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2012: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2012: .size _...
code for sm_89
#ifndef SIMPLE_DEVICE_LIBRARY_CUH #define SIMPLE_DEVICE_LIBRARY_CUH extern __device__ float multiplyByTwo(float number); extern __device__ float divideByTwo(float number); #endif
.text .file "simpleDeviceLibrary.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 e5bf7e55c91490b...
.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-...
6e385ed0527b8dd72c3519e62b21cdc62fa0f7f0
#include "includes.h" using namespace std; int *a, *b; // host data int *c, *c2; // results __global__ void vecAdd(int *A,int *B,int *C,int N) { int i = blockIdx.x * blockDim.x + threadIdx.x; C[i] = A[i] + B[i]; }
.file "tmpxft_00247460_00000000-6_vecAdd.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 : _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 "includes.h" using namespace std; int *a, *b; // host data int *c, *c2; // results __global__ void vecAdd(int *A,int *B,int *C,int N) { int i = blockIdx.x * blockDim.x + threadIdx.x; C[i] = A[i] + B[i]; }
.text .file "vecAdd.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 0x2 s_load_b32 s2, s[0:1], 0x2c s_load_b128...
3bd006c640eace99f1408f75b29534b32fa04bfc
// Copyright (c) 2019-2020, NVIDIA CORPORATION. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
.file "tmpxft_003227c0_00000000-6__sosfilt.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__cudaU...
code for sm_89 Function : _cupy_sosfilt_float64 .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> // Copyright (c) 2019-2020, NVIDIA CORPORATION. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unles...
.text .file "_sosfilt.hip" .globl __device_stub___cupy_sosfilt_float32 # -- Begin function __device_stub___cupy_sosfilt_float32 .type __device_stub___cupy_sosfilt_float32,@function __device_stub___cupy_sosfilt_float32: # @__device_stub___cupy_sosfilt_float32 .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _cupy_sosfilt_float32 ; -- Begin function _cupy_sosfilt_float32 .globl _cupy_sosfilt_float32 .p2align 8 .type _cupy_sosfilt_float32,@function _cupy_sosfilt_float32: ; @_cupy_sosfilt_float32 ; %bb.0: s_clause 0x1 s_load_b64 s[2:3], s...
25d8a1db2777e7a9bf44adfe60f2aea3841a777c
#include <iostream> #include <cuda.h> #include <chrono> using namespace std; __global__ void transpose(double *in_d, double * out_d, int row, int col) { int x = blockIdx.x * blockDim.x + threadIdx.x; int y = blockIdx.y * blockDim.y + threadIdx.y; out_d[y+col*x] = in_d[x+row*y]; } int main(int argc,char **ar...
.file "tmpxft_002fb40d_00000000-6_transpose.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3741: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi...
code for sm_89 Function : _Z9transposePdS_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 */ ...
#include <iostream> #include <hip/hip_runtime.h> #include <chrono> using namespace std; __global__ void transpose(double *in_d, double * out_d, int row, int col) { int x = blockIdx.x * blockDim.x + threadIdx.x; int y = blockIdx.y * blockDim.y + threadIdx.y; out_d[y+col*x] = in_d[x+row*y]; } int main(int arg...
.text .file "transpose.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__transposePdS_ii # -- Begin function _Z24__device_stub__transposePdS_ii ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9transposePdS_ii ; -- Begin function _Z9transposePdS_ii .globl _Z9transposePdS_ii .p2align 8 .type _Z9transposePdS_ii,@function _Z9transposePdS_ii: ; @_Z9transposePdS_ii ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_l...
bb062762638bed922ad941cf8385f53fb108afe2
#include "includes.h" __global__ void writeOffsetUnroll4(float *A, float *B, float *C, const int n, int offset) { unsigned int i = blockIdx.x * blockDim.x + threadIdx.x; unsigned int k = i + offset; if (k + 3 * blockDim.x < n) { C[k] = A[i] + B[i]; C[k + blockDim.x] = A[i + blockDim.x] + B...
.file "tmpxft_0038d4f0_00000000-6_writeOffsetUnroll4.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 : _Z18writeOffsetUnroll4PfS_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 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void writeOffsetUnroll4(float *A, float *B, float *C, const int n, int offset) { unsigned int i = blockIdx.x * blockDim.x + threadIdx.x; unsigned int k = i + offset; if (k + 3 * blockDim.x < n) { C[k] = A[i] + B[i]; C[k + blockDim...
.text .file "writeOffsetUnroll4.hip" .globl _Z33__device_stub__writeOffsetUnroll4PfS_S_ii # -- Begin function _Z33__device_stub__writeOffsetUnroll4PfS_S_ii .type _Z33__device_stub__writeOffsetUnroll4PfS_S_ii,@function _Z33__device_stub__writeOffsetUnroll4PfS_S_ii: # @_Z33__device_stub__writeOffsetUnroll4PfS_S_ii ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18writeOffsetUnroll4PfS_S_ii ; -- Begin function _Z18writeOffsetUnroll4PfS_S_ii .globl _Z18writeOffsetUnroll4PfS_S_ii .p2align 8 .type _Z18writeOffsetUnroll4PfS_S_ii,@function _Z18writeOffsetUnroll4PfS_S_ii: ; @_Z18writeOffsetUnroll4PfS_S_ii ;...
c279354e14b3c53c9b09b854fc8d49b007d980f3
/* rkrish11 Rahul Krishna */ #include "cuda.h" #include <curand.h> #include <curand_kernel.h> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define SEED 35791246 __global__ void init_stuff(curandState *state, int count) { // This sets a random number seed for all th...
.file "tmpxft_002faffb_00000000-6_monteCarlo.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3852: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89 Function : _Z9cudaMontePdiP17curandStateXORWOW .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 */ ...
/* rkrish11 Rahul Krishna */ #include "hip/hip_runtime.h" #include <hiprand/hiprand.h> #include <hiprand/hiprand_kernel.h> #include <iostream> #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define SEED 35791246 __global__ void init_stuff(hiprandState *state, int count) { // This sets a...
.text .file "monteCarlo.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z25__device_stub__init_stuffP12hiprandStatei # -- Begin function _Z25__device_stub__init...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10init_stuffP12hiprandStatei ; -- Begin function _Z10init_stuffP12hiprandStatei .globl _Z10init_stuffP12hiprandStatei .p2align 8 .type _Z10init_stuffP12hiprandStatei,@function _Z10init_stuffP12hiprandStatei: ; @_Z10init_stuffP12hiprandStatei ;...
122f9996afbfdb137c50372eef132f4aac5ceb91
#include "includes.h" __global__ void kCopyToTransDestFast(float* srcStart, float* destStart, unsigned int srcCopyWidth, unsigned int srcCopyHeight, unsigned int srcJumpSize, unsigned int destJumpSize) { // const unsigned int idxY = blockIdx.y * blockDim.y + threadIdx.y; // const unsigned int idxX = blockIdx.x * ...
.file "tmpxft_002a8d84_00000000-6_kCopyToTransDestFast.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 : _Z20kCopyToTransDestFastPfS_jjjj .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 kCopyToTransDestFast(float* srcStart, float* destStart, unsigned int srcCopyWidth, unsigned int srcCopyHeight, unsigned int srcJumpSize, unsigned int destJumpSize) { // const unsigned int idxY = blockIdx.y * blockDim.y + threadIdx.y; // const uns...
.text .file "kCopyToTransDestFast.hip" .globl _Z35__device_stub__kCopyToTransDestFastPfS_jjjj # -- Begin function _Z35__device_stub__kCopyToTransDestFastPfS_jjjj .type _Z35__device_stub__kCopyToTransDestFastPfS_jjjj,@function _Z35__device_stub__kCopyToTransDestFastPfS_jjjj: # @_Z35__device_stub__kCopyToTransDestFas...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20kCopyToTransDestFastPfS_jjjj ; -- Begin function _Z20kCopyToTransDestFastPfS_jjjj .globl _Z20kCopyToTransDestFastPfS_jjjj .p2align 8 .type _Z20kCopyToTransDestFastPfS_jjjj,@function _Z20kCopyToTransDestFastPfS_jjjj: ; @_Z20kCopyToTransDestFast...
6b39b49ab0a72ee2c28995b97c9531706eb5e32c
#include "add.cuh" /** * CUDA kernel */ __global__ void kernel(int* a, int* b, int* c) { int i = threadIdx.x; c[i] = a[i] + b[i]; } /** * Function adds two numbers and stores the result in c */ void addTwoNum(int* a, int* b, int* c) { int* d_a, * d_b, * d_c; cudaMalloc((void**)&d_a, sizeof(int)); cudaMalloc(...
.file "tmpxft_00226e0c_00000000-6_add.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__cudaUnregi...
code for sm_89 Function : _Z6kernelPiS_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 */ ...
#pragma once #include <hip/hip_runtime.h> #include <stdio.h> /** * CUDA kernel */ __global__ void kernel(int* a, int* b, int* c); /** * Function adds two numbers and stores it in c * */ void addTwoNum(int* a, int* b, int* c);
.text .file "add.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 e5bf7e55c91490b07c49d8960fa7983...
.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-...
9dcf614fd355fd3aac19d569d83e321cc4765045
/* This program is written to find the nearest neighbour of each point in 3 deminsional space by implementing the brute force algorithm. The brute force approach can easily be converted into a embarassingly parallel algorithm for the GPU where there is no interaction between the threads. Benchmarking is done to compare...
.file "tmpxft_0026a98b_00000000-6_NearestNeighbour1.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 _ZL...
code for sm_89 Function : _Z8GPU_FindP8positionPii .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 program is written to find the nearest neighbour of each point in 3 deminsional space by implementing the brute force algorithm. The brute force approach can easily be converted into a embarassingly parallel algorithm for the GPU where there is no interaction between the threads. Benchmarking is done to compare...
.text .file "NearestNeighbour1.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z12time_elapsedP8timespecS0_ .LCPI0_0: .quad 0x3e112e0be826d695 # double 1.0000000000000001E-9 .text .globl _Z12time_elapsedP8timespecS0_ .type _Z12time_elapsedP8...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8GPU_FindP8positionPii ; -- Begin function _Z8GPU_FindP8positionPii .globl _Z8GPU_FindP8positionPii .p2align 8 .type _Z8GPU_FindP8positionPii,@function _Z8GPU_FindP8positionPii: ; @_Z8GPU_FindP8positionPii ; %bb.0: s_clause 0x1 s_load_...
5f7756be9563c42d46f131434b49ba6f4658f7cd
#include "motionPlanningSolution.cuh" typedef struct MotionPlanningSolution { std::vector<int> path; // list of path indexes float cost; float cp; float time; } MotionPlanningSolution;
.file "tmpxft_003937e8_00000000-6_motionPlanningSolution.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2879: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2879: .siz...
code for sm_89
#include <hip/hip_runtime.h> #include "motionPlanningSolution.cuh" typedef struct MotionPlanningSolution { std::vector<int> path; // list of path indexes float cost; float cp; float time; } MotionPlanningSolution;
.text .file "motionPlanningSolution.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 e5bf7e55c914...
.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-...
82043d4e4e8f5f06b322ffe73e0724d64d039bbc
#include <math.h> __device__ double dist(double x1, double y1, double x2, double y2){ return sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2)); } __global__ void testKernel(double *xs, double *ys, double *b){ b[blockIdx.x] = dist(xs[blockIdx.x], 1.0, ys[blockIdx.x], 1.0); } /* r^3 */ __device__ double rbf(doub...
.file "tmpxft_00357fc1_00000000-6_kernels.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2015: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2015: .size _ZL26__cudaUn...
code for sm_89 Function : _Z10genDMatrixiPdS_PiS_S_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 */ ...
#include <hip/hip_runtime.h> #include <math.h> __device__ double dist(double x1, double y1, double x2, double y2){ return sqrt((x1-x2)*(x1-x2) + (y1-y2)*(y1-y2)); } __global__ void testKernel(double *xs, double *ys, double *b){ b[blockIdx.x] = dist(xs[blockIdx.x], 1.0, ys[blockIdx.x], 1.0); } /* r^3...
.text .file "kernels.hip" .globl _Z25__device_stub__testKernelPdS_S_ # -- Begin function _Z25__device_stub__testKernelPdS_S_ .type _Z25__device_stub__testKernelPdS_S_,@function _Z25__device_stub__testKernelPdS_S_: # @_Z25__device_stub__testKernelPdS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10testKernelPdS_S_ ; -- Begin function _Z10testKernelPdS_S_ .globl _Z10testKernelPdS_S_ .p2align 8 .type _Z10testKernelPdS_S_,@function _Z10testKernelPdS_S_: ; @_Z10testKernelPdS_S_ ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x0 s_mov...
5d5103f58c4045f70fab949fd66686f6fc50e56b
#include<stdio.h> #include<stdlib.h> #include<unistd.h> #include<stdbool.h> #include<cuda.h> #include<cuda_runtime.h> #include<curand.h> #include<curand_kernel.h> #include<math.h> //Declare all needed extern variables and functions // Result from last compute of world. extern unsigned char *g_resultData; // Current ...
.file "tmpxft_00385ed4_00000000-6_gol-with-cuda.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2272: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2272: .size _ZL26__...
code for sm_89 Function : _Z10gol_kernaljjPhjjS_jjjPjS0_m .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<unistd.h> #include<stdbool.h> #include<hip/hip_runtime.h> #include<hiprand/hiprand.h> #include<hiprand/hiprand_kernel.h> #include<math.h> //Declare all needed extern variables and functions // Result from last compute of world. extern unsigned char *g_resultData; // Cur...
.text .file "gol-with-cuda.hip" .globl _Z18gol_initDistancingmmmmPj # -- Begin function _Z18gol_initDistancingmmmmPj .type _Z18gol_initDistancingmmmmPj,@function _Z18gol_initDistancingmmmmPj: # @_Z18gol_initDistancingmmmmPj .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10gol_kernaljjPhjjS_jjjPjS0_m ; -- Begin function _Z10gol_kernaljjPhjjS_jjjPjS0_m .globl _Z10gol_kernaljjPhjjS_jjjPjS0_m .p2align 8 .type _Z10gol_kernaljjPhjjS_jjjPjS0_m,@function _Z10gol_kernaljjPhjjS_jjjPjS0_m: ; @_Z10gol_kernaljjPhjjS_jjjPjS...
add8f056a290ed49032610e409c73c58d4f2b33c
//#include "BLACKCAT_GPU_MATHEMATICS.cuh" // // //__global__ //void GPU_MATHEMATICS::dot(float* store, unsigned s_LD, const float* m1, unsigned m1_r, unsigned m1_c, unsigned m1_LD, // const float* m2, unsigned m2_r, unsigned m2_c, unsigned m2_LD) //{ //// cublasHandle_t h; //// cublasCreate(&h)...
.file "tmpxft_0031b721_00000000-6_LAR_DotProducts_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 ...
code for sm_89
#include <hip/hip_runtime.h> //#include "BLACKCAT_GPU_MATHEMATICS.cuh" // // //__global__ //void GPU_MATHEMATICS::dot(float* store, unsigned s_LD, const float* m1, unsigned m1_r, unsigned m1_c, unsigned m1_LD, // const float* m2, unsigned m2_r, unsigned m2_c, unsigned m2_LD) //{ //// cublasHandle...
.text .file "LAR_DotProducts_CUDA.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 e5bf7e55c91490...
.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-...
69d67ec694479b4a5f424c040bc618c1a0e77769
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northeastern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
.file "tmpxft_0035313a_00000000-6_CrossEntropy.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3063: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE3063: .size _ZL26__c...
code for sm_89
/* NiuTrans.Tensor - an open-source tensor library * Copyright (C) 2017, Natural Language Processing Lab, Northeastern University. * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy ...
.text .file "CrossEntropy.hip" .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 # -- Begin function _ZN3nts21_CudaCrossEntropyFastEPKNS_7XTensorES2_PS0_S2_S2_i .LCPI0_0: .long 0x3f800000 # float 1 .text .globl _ZN3nts21_CudaCrossEntropyFastEPKNS_7XTensorES2_PS0...
.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-...
ea819213412aa126dee424b21d2825272a67b4e3
#include <stdio.h> // pitch: the number of cols // size : the number of rows __global__ void matmul_kernel( const float* const mat1, const float* const mat2, float* const mat3, const size_t pitch1, const size_t pitch2, const size_t pitch3, const size_t size1, const size_t size2, const size_t size3 ...
.file "tmpxft_002770b6_00000000-6_cudamatmul.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 Function : _Z13matmul_kernelPKfS0_Pfmmmmmm .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> // pitch: the number of cols // size : the number of rows __global__ void matmul_kernel( const float* const mat1, const float* const mat2, float* const mat3, const size_t pitch1, const size_t pitch2, const size_t pitch3, const size_t size1, const size_t size...
.text .file "cudamatmul.hip" .globl _Z28__device_stub__matmul_kernelPKfS0_Pfmmmmmm # -- Begin function _Z28__device_stub__matmul_kernelPKfS0_Pfmmmmmm .type _Z28__device_stub__matmul_kernelPKfS0_Pfmmmmmm,@function _Z28__device_stub__matmul_kernelPKfS0_Pfmmmmmm: # @_Z28__device_stub__matmul_kernelPKfS0_Pfmmmmmm .cfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13matmul_kernelPKfS0_Pfmmmmmm ; -- Begin function _Z13matmul_kernelPKfS0_Pfmmmmmm .globl _Z13matmul_kernelPKfS0_Pfmmmmmm .p2align 8 .type _Z13matmul_kernelPKfS0_Pfmmmmmm,@function _Z13matmul_kernelPKfS0_Pfmmmmmm: ; @_Z13matmul_kernelPKfS0_Pfmmm...
8e4383be372f283ff2ff17b5330464e242be869e
#include<cuda.h> #include<stdio.h> #include<math.h> #include<stdlib.h> using namespace std; //For nodes in adjacency list typedef struct node { int val; struct node* next; }node; //Stores visit array's old and new values typedef struct node1 { int oldval,newval; }node1; //Compare function to sort based on decre...
.file "tmpxft_002201d0_00000000-6_kbfs.cudafe1.cpp" .text #APP #NO_APP .globl _Z7cmpfuncPKvS0_ .type _Z7cmpfuncPKvS0_, @function _Z7cmpfuncPKvS0_: .LFB2027: .cfi_startproc endbr64 movl (%rsi), %edx movl $1, %eax cmpl %edx, (%rdi) jl .L1 setne %al movzbl %al, %eax negl %eax .L1: ret .cfi_endproc .LFE2027...
code for sm_89 Function : _Z11UpdateVisitP5node1PiS1_S1_ .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<math.h> #include<stdlib.h> using namespace std; //For nodes in adjacency list typedef struct node { int val; struct node* next; }node; //Stores visit array's old and new values typedef struct node1 { int oldval,newval; }node1; //Compare function to sort bas...
.text .file "kbfs.hip" .globl _Z7cmpfuncPKvS0_ # -- Begin function _Z7cmpfuncPKvS0_ .type _Z7cmpfuncPKvS0_,@function _Z7cmpfuncPKvS0_: # @_Z7cmpfuncPKvS0_ .cfi_startproc # %bb.0: movl (%rdi), %eax movl (%rsi), %ecx xorl %edx, %edx cmpl %ecx, %eax setne %dl negl %edx cmpl...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15UpdatenextlevelPiS_S_P5node1S_ ; -- Begin function _Z15UpdatenextlevelPiS_S_P5node1S_ .globl _Z15UpdatenextlevelPiS_S_P5node1S_ .p2align 8 .type _Z15UpdatenextlevelPiS_S_P5node1S_,@function _Z15UpdatenextlevelPiS_S_P5node1S_: ; @_Z15Updatenextle...
3c829b8a1ef002dfee834c3cd4a3c586e776eb42
#include "includes.h" __global__ void atomic_reduction_kernel(float *data_out, float *data_in, int size) { int idx_x = blockIdx.x * blockDim.x + threadIdx.x; atomicAdd(&data_out[0], data_in[idx_x]); }
.file "tmpxft_00203b29_00000000-6_atomic_reduction_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: .si...
code for sm_89 Function : _Z23atomic_reduction_kernelPfS_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 "includes.h" __global__ void atomic_reduction_kernel(float *data_out, float *data_in, int size) { int idx_x = blockIdx.x * blockDim.x + threadIdx.x; atomicAdd(&data_out[0], data_in[idx_x]); }
.text .file "atomic_reduction_kernel.hip" .globl _Z38__device_stub__atomic_reduction_kernelPfS_i # -- Begin function _Z38__device_stub__atomic_reduction_kernelPfS_i .type _Z38__device_stub__atomic_reduction_kernelPfS_i,@function _Z38__device_stub__atomic_reduction_kernelPfS_i: # @_Z38__device_stub__atomic_reduction...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z23atomic_reduction_kernelPfS_i ; -- Begin function _Z23atomic_reduction_kernelPfS_i .globl _Z23atomic_reduction_kernelPfS_i .p2align 8 .type _Z23atomic_reduction_kernelPfS_i,@function _Z23atomic_reduction_kernelPfS_i: ; @_Z23atomic_reduction_ker...
5e78470ca7c5022731bf105bcdd8d58b46f41665
#include <stdio.h> __global__ void add( int *a, int *b, int *c) { *c = *a + *b; } __global__ void array_add (int *a, int *b, int *c, int sz) { int idx = threadIdx.x + blockIdx.x * blockDim.x; if ( idx < sz) c[idx] = a[idx] + b[idx]; } int main(void) { int a, b, c; int *dev_a, *dev_b, *dev_c; int size = size...
.file "tmpxft_002fa94e_00000000-6_naba.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 : _Z9array_addPiS_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> __global__ void add( int *a, int *b, int *c) { *c = *a + *b; } __global__ void array_add (int *a, int *b, int *c, int sz) { int idx = threadIdx.x + blockIdx.x * blockDim.x; if ( idx < sz) c[idx] = a[idx] + b[idx]; } int main(void) { int a, b, c; int *dev_a, *d...
.text .file "naba.hip" .globl _Z18__device_stub__addPiS_S_ # -- Begin function _Z18__device_stub__addPiS_S_ .type _Z18__device_stub__addPiS_S_,@function _Z18__device_stub__addPiS_S_: # @_Z18__device_stub__addPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_o...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3addPiS_S_ ; -- Begin function _Z3addPiS_S_ .globl _Z3addPiS_S_ .p2align 8 .type _Z3addPiS_S_,@function _Z3addPiS_S_: ; @_Z3addPiS_S_ ; %bb.0: s_clause 0x1 s_load_b128 s[4:7], s[0:1], 0x0 s_load_b64 s[0:1], s[0:...
30bea43fd373a9391b6623d2ca494e2171eb783c
/** * @device matview_transopse * Create on:Apr 17 2018 * @author: haili * the size of tensor is m×n×k×l */ __global__ void d_batch_transpose(float* A,float* T,const int m, const int n,const int batch){ int tid=blockDim.x*blockIdx.x+threadIdx.x; int t_n=blockDim.x*gridDim.x; while(tid<m*n*batch){ A[(tid/(m*...
.file "tmpxft_00217153_00000000-6_transpose.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__cuda...
code for sm_89 Function : _Z17d_batch_transposePfS_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 */ ...
#include <hip/hip_runtime.h> /** * @device matview_transopse * Create on:Apr 17 2018 * @author: haili * the size of tensor is m×n×k×l */ __global__ void d_batch_transpose(float* A,float* T,const int m, const int n,const int batch){ int tid=blockDim.x*blockIdx.x+threadIdx.x; int t_n=blockDim.x*gridDim.x; whil...
.text .file "transpose.hip" .globl _Z32__device_stub__d_batch_transposePfS_iii # -- Begin function _Z32__device_stub__d_batch_transposePfS_iii .type _Z32__device_stub__d_batch_transposePfS_iii,@function _Z32__device_stub__d_batch_transposePfS_iii: # @_Z32__device_stub__d_batch_transposePfS_iii .cfi_startproc # %bb...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17d_batch_transposePfS_iii ; -- Begin function _Z17d_batch_transposePfS_iii .globl _Z17d_batch_transposePfS_iii .p2align 8 .type _Z17d_batch_transposePfS_iii,@function _Z17d_batch_transposePfS_iii: ; @_Z17d_batch_transposePfS_iii ; %bb.0: s...
47ff83fa009cd661e80b6d5cbbf183b0fe021979
#include <algorithm> #include <cfloat> #include <chrono> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <stdexcept> #include <vector> #include <stdio.h> #include <stdlib.h> #include <string> double std_time_used; struct Data { Data(int size) : size(size), bytes(size * sizeof(flo...
.file "tmpxft_0025862e_00000000-6_standard_kmeans.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB5253: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT...
code for sm_89 Function : _Z13coarse_reducePfS_S_S_iPi .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 <algorithm> #include <cfloat> #include <chrono> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <stdexcept> #include <vector> #include <stdio.h> #include <stdlib.h> #include <string> double std_time_used; struct Data { Data(int size) : size(...
.text .file "standard_kmeans.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z26__device_stub__fine_reducePKfS0_iS0_S0_PfS1_iPi # -- Begin function _Z26__device...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11fine_reducePKfS0_iS0_S0_PfS1_iPi ; -- Begin function _Z11fine_reducePKfS0_iS0_S0_PfS1_iPi .globl _Z11fine_reducePKfS0_iS0_S0_PfS1_iPi .p2align 8 .type _Z11fine_reducePKfS0_iS0_S0_PfS1_iPi,@function _Z11fine_reducePKfS0_iS0_S0_PfS1_iPi: ; @_Z11fine...
06a4394b6f1dbbb13feb7d732c56239cc64120d3
extern "C" __global__ void sconv_bprop_C1_N64 ( float* param_test, float* param_I, const float* param_F, const float* param_E, float param_alpha, int param_N, int param_K, int param_D, int param_H, int param_W, int param_WN, int param_HWN, int param_DHWN, int pa...
.file "tmpxft_0034b283_00000000-6_sconv_bprop_C1_N64.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 : sconv_bprop_C1_N64 .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" __global__ void sconv_bprop_C1_N64 ( float* param_test, float* param_I, const float* param_F, const float* param_E, float param_alpha, int param_N, int param_K, int param_D, int param_H, int param_W, int param_WN, int param_HWN, ...
.text .file "sconv_bprop_C1_N64.hip" .globl __device_stub__sconv_bprop_C1_N64 # -- Begin function __device_stub__sconv_bprop_C1_N64 .type __device_stub__sconv_bprop_C1_N64,@function __device_stub__sconv_bprop_C1_N64: # @__device_stub__sconv_bprop_C1_N64 .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected sconv_bprop_C1_N64 ; -- Begin function sconv_bprop_C1_N64 .globl sconv_bprop_C1_N64 .p2align 8 .type sconv_bprop_C1_N64,@function sconv_bprop_C1_N64: ; @sconv_bprop_C1_N64 ; %bb.0: v_dual_mov_b32 v1, 1.0 :: v_dual_lshlrev_b32 v...
323de27847d3237cb03f5405cb938388e9b9dbf4
#include "includes.h" __global__ void fill_lower_left_gpu(int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) { int i = threadIdx.x; if (i < nnz_L) { iRow[i] = rind_L[i]; jCol[i] = cind_L[i]; } }
.file "tmpxft_00249bc6_00000000-6_fill_lower_left_gpu.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 : _Z19fill_lower_left_gpuPiS_PjS0_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 "includes.h" __global__ void fill_lower_left_gpu(int *iRow, int *jCol, unsigned int *rind_L, unsigned int *cind_L, const int nnz_L) { int i = threadIdx.x; if (i < nnz_L) { iRow[i] = rind_L[i]; jCol[i] = cind_L[i]; } }
.text .file "fill_lower_left_gpu.hip" .globl _Z34__device_stub__fill_lower_left_gpuPiS_PjS0_i # -- Begin function _Z34__device_stub__fill_lower_left_gpuPiS_PjS0_i .type _Z34__device_stub__fill_lower_left_gpuPiS_PjS0_i,@function _Z34__device_stub__fill_lower_left_gpuPiS_PjS0_i: # @_Z34__device_stub__fill_lower_left_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z19fill_lower_left_gpuPiS_PjS0_i ; -- Begin function _Z19fill_lower_left_gpuPiS_PjS0_i .globl _Z19fill_lower_left_gpuPiS_PjS0_i .p2align 8 .type _Z19fill_lower_left_gpuPiS_PjS0_i,@function _Z19fill_lower_left_gpuPiS_PjS0_i: ; @_Z19fill_lower_left_...
8ddfaf4fd1684742b21eee1f9cc984573aa605d4
#include "includes.h" __global__ void BFS_kernel_multi_block( volatile unsigned int *frontier, volatile unsigned int *frontier2, unsigned int frontier_len, volatile unsigned int *cost, volatile int *visited, unsigned int *edgeArray, unsigned int *edgeArrayAux, unsigned int numVertices, unsigned int numEdges, volatile u...
.file "tmpxft_002448ae_00000000-6_BFS_kernel_multi_block.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 : _Z22BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj .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 BFS_kernel_multi_block( volatile unsigned int *frontier, volatile unsigned int *frontier2, unsigned int frontier_len, volatile unsigned int *cost, volatile int *visited, unsigned int *edgeArray, unsigned int *edgeArrayAux, unsigned int numVertices, uns...
.text .file "BFS_kernel_multi_block.hip" .globl _Z37__device_stub__BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj # -- Begin function _Z37__device_stub__BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj .type _Z37__device_stub__BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj,@function _Z37__device_stub__BFS_kernel_m...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z22BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj ; -- Begin function _Z22BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj .globl _Z22BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj .p2align 8 .type _Z22BFS_kernel_multi_blockPVjS0_jS0_PViPjS3_jjS0_jj,@...