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
8cd070832c1df5ec74c3c1cdb4aed33811412a6d
#include <math.h> #include <stdio.h> #include <stdlib.h> // functie kernel prin care adunam doi arrays __global__ void vector_add(float *x, float *y, int n) { // calculam indexul - echivalent cu for-ul // threadId.x - id-ul unui thread blocul actual // blockDim.x - dimensiunea blocului actual // blockIdx.x ...
.file "tmpxft_002d970e_00000000-6_main-unified.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__c...
code for sm_89 Function : _Z10vector_addPfS_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 <math.h> #include <stdio.h> #include <stdlib.h> // functie kernel prin care adunam doi arrays __global__ void vector_add(float *x, float *y, int n) { // calculam indexul - echivalent cu for-ul // threadId.x - id-ul unui thread blocul actual // blockDim.x - dimensiunea b...
.text .file "main-unified.hip" .globl _Z25__device_stub__vector_addPfS_i # -- Begin function _Z25__device_stub__vector_addPfS_i .type _Z25__device_stub__vector_addPfS_i,@function _Z25__device_stub__vector_addPfS_i: # @_Z25__device_stub__vector_addPfS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 1...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10vector_addPfS_i ; -- Begin function _Z10vector_addPfS_i .globl _Z10vector_addPfS_i .p2align 8 .type _Z10vector_addPfS_i,@function _Z10vector_addPfS_i: ; @_Z10vector_addPfS_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 ...
502b52351ff9e4f4837ccb30f478fe033de4c9f5
#include "includes.h" __device__ bool checkBoundary(int blockIdx, int blockDim, int threadIdx){ int x = threadIdx; int y = blockIdx; return (x == 0 || x == (blockDim-1) || y == 0 || y == 479); } __global__ void mDivergence_TwoDim(float *div, float *u_dimX, float *u_dimY, float r_sStep) { if(checkBoundary(blockIdx.x, bl...
.file "tmpxft_00249989_00000000-6_mDivergence_TwoDim.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 : _Z18mDivergence_TwoDimPfS_S_f .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __device__ bool checkBoundary(int blockIdx, int blockDim, int threadIdx){ int x = threadIdx; int y = blockIdx; return (x == 0 || x == (blockDim-1) || y == 0 || y == 479); } __global__ void mDivergence_TwoDim(float *div, float *u_dimX, float *u_dimY, float r_sStep) { i...
.text .file "mDivergence_TwoDim.hip" .globl _Z33__device_stub__mDivergence_TwoDimPfS_S_f # -- Begin function _Z33__device_stub__mDivergence_TwoDimPfS_S_f .type _Z33__device_stub__mDivergence_TwoDimPfS_S_f,@function _Z33__device_stub__mDivergence_TwoDimPfS_S_f: # @_Z33__device_stub__mDivergence_TwoDimPfS_S_f .cfi_s...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18mDivergence_TwoDimPfS_S_f ; -- Begin function _Z18mDivergence_TwoDimPfS_S_f .globl _Z18mDivergence_TwoDimPfS_S_f .p2align 8 .type _Z18mDivergence_TwoDimPfS_S_f,@function _Z18mDivergence_TwoDimPfS_S_f: ; @_Z18mDivergence_TwoDimPfS_S_f ; %bb....
759bdc0691a95681ec92f3d4694e134908d61c8c
#define RADIUS 2 #define BLOCK_SIZE 32 // needs to be equal to blockDim.x __constant__ double WEIGHT = 1. / (2.*RADIUS + 1); __global__ void smoothing_stencil_1d(double *in, double *out, int length) /** Smoothing stencil in one dimension using average over the radius defined by RADIUS . Inspired by ht...
.file "tmpxft_0023dddc_00000000-6_smoothing_kernels.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 : _Z21gaussian_smoothing_1dPdS_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> #define RADIUS 2 #define BLOCK_SIZE 32 // needs to be equal to blockDim.x __constant__ double WEIGHT = 1. / (2.*RADIUS + 1); __global__ void smoothing_stencil_1d(double *in, double *out, int length) /** Smoothing stencil in one dimension using average over the radius defined ...
.text .file "smoothing_kernels.hip" .globl _Z35__device_stub__smoothing_stencil_1dPdS_i # -- Begin function _Z35__device_stub__smoothing_stencil_1dPdS_i .type _Z35__device_stub__smoothing_stencil_1dPdS_i,@function _Z35__device_stub__smoothing_stencil_1dPdS_i: # @_Z35__device_stub__smoothing_stencil_1dPdS_i .cfi_st...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20smoothing_stencil_1dPdS_i ; -- Begin function _Z20smoothing_stencil_1dPdS_i .globl _Z20smoothing_stencil_1dPdS_i .p2align 8 .type _Z20smoothing_stencil_1dPdS_i,@function _Z20smoothing_stencil_1dPdS_i: ; @_Z20smoothing_stencil_1dPdS_i ; %bb....
01c17c983005802771742cc41d32cdf05fb6bcab
/* This is a demonstration of how crazily simple using `thrust` is compared to using the lower-level runtime API. */ #include <thrust/device_vector.h> #include <thrust/host_vector.h> #include <thrust/sort.h> #include <ctime> #include <cstdio> int myrand() { return rand() % 10; } int main() { int count = 1024;...
.file "tmpxft_0038ba17_00000000-6_thrust.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,comdat ...
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS29DeviceRadixSortOnesweepKernelINS0_21DeviceRadixSortPolicyIiNS0_8NullTypeEyE9Policy900ELb0EiS3_yiiNS0_6detail21identity_decomposer_tEEEvPT5_S9_PT3_PKSA_PT1_PKSE_PT2_PKSI_T4_iiT6_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_V...
/* This is a demonstration of how crazily simple using `thrust` is compared to using the lower-level runtime API. */ #include <hip/hip_runtime.h> #include <thrust/device_vector.h> #include <thrust/host_vector.h> #include <thrust/sort.h> #include <ctime> #include <cstdio> int myrand() { return rand() % 10; } int ...
.text .file "thrust.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z6myrandv # -- Begin function _Z6myrandv .type _Z6myrandv,@function _Z...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .section .text._ZN7rocprim6detail28radix_sort_block_sort_kernelINS0_36wrapped_radix_sort_block_sort_configINS_13kernel_configILj256ELj4ELj4294967295EEEiNS_10empty_typeEEELb0EN6thrust6detail15normal_iteratorINS7_10device_ptrIiEEEESC_PS5_SD_NS_19identity_decomposerEEEv...
6be7307cc691f6acc586ed61f0dc069bfbdda7cf
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> //Number of elements of the inpu layers, that correspond to the number of pixels of a picture #define PIXELS 3073 //Number of elements of the first hidden layer #define HIDDEN_LAYER_1 2000 //Number of elements of the second hidden layer #define...
.file "tmpxft_00244cea_00000000-6_NeuralNetwork.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2043: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2043: .size _ZL26__...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> //Number of elements of the inpu layers, that correspond to the number of pixels of a picture #define PIXELS 3073 //Number of elements of the first hidden layer #define HIDDEN_LAYER_1 2000 //Number of elements of t...
.text .file "NeuralNetwork.hip" .globl _Z12print_vectorPdi # -- Begin function _Z12print_vectorPdi .type _Z12print_vectorPdi,@function _Z12print_vectorPdi: # @_Z12print_vectorPdi .cfi_startproc # %bb.0: testl %esi, %esi jle .LBB0_4 # %bb.1: # %.lr.ph....
.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-...
70b866db84f10ca7899484b8fdaacbfc5b63d429
/********************************************************************** * DESCRIPTION: * Serial Concurrent Wave Equation - C Version * This program implements the concurrent wave equation *********************************************************************/ #include <stdio.h> #include <stdlib.h> #include <math...
.file "tmpxft_003960ef_00000000-6_cuda_wave.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__cuda...
code for sm_89 Function : _Z7do_mathPfii .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 */ ...
/********************************************************************** * DESCRIPTION: * Serial Concurrent Wave Equation - C Version * This program implements the concurrent wave equation *********************************************************************/ #include <hip/hip_runtime.h> #include <stdio.h> #inc...
.text .file "cuda_wave.hip" .globl _Z11check_paramv # -- Begin function _Z11check_paramv .type _Z11check_paramv,@function _Z11check_paramv: # @_Z11check_paramv .cfi_startproc # %bb.0: pushq %r14 .cfi_def_cfa_offset 16 pushq %rbx .cfi_def_cfa_offset 24 subq $24, %rsp .cfi_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4initPfi ; -- Begin function _Z4initPfi .globl _Z4initPfi .p2align 8 .type _Z4initPfi,@function _Z4initPfi: ; @_Z4initPfi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x1c s_load_b32 s3, s[0:1], 0x8 s_waitc...
c8b584057371d0474cb075e08a6b1571244bec25
#include"rbsspfvehicletracker.cuh" //============================================================================== LaserScan * d_scan=NULL; LaserScan h_scan; EgoMotion h_egomotion; //============================================================================== __host__ __device__ void deviceBuildModel(VehicleStat...
.file "tmpxft_002786b3_00000000-6_rbsspfvehicletracker.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 */ ...
#ifndef RBSSPFVEHICLETRACKER_CUH #define RBSSPFVEHICLETRACKER_CUH #include<hip/hip_runtime.h> #include<thrust/random/linear_congruential_engine.h> #include<thrust/random/uniform_real_distribution.h> #include<thrust/random/normal_distribution.h> #include<thrust/generate.h> #include<chrono> #include<vector> #include<r...
.text .file "rbsspfvehicletracker.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_c...
.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-...
9459d862a3a4389ad77f02c16297119b8d3ad245
#include "includes.h" __global__ void normalize_cdf( unsigned int* d_input_cdf, float* d_output_cdf, int n ) { const float normalization_constant = 1.f / d_input_cdf[n - 1]; int global_index_1d = ( blockIdx.x * blockDim.x ) + threadIdx.x; if ( global_index_1d < n ) { unsigned int input_value = d_inp...
.file "tmpxft_002b976b_00000000-6_normalize_cdf.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 : _Z13normalize_cdfPjPfi .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 normalize_cdf( unsigned int* d_input_cdf, float* d_output_cdf, int n ) { const float normalization_constant = 1.f / d_input_cdf[n - 1]; int global_index_1d = ( blockIdx.x * blockDim.x ) + threadIdx.x; if ( global_index_1d < n ) { uns...
.text .file "normalize_cdf.hip" .globl _Z28__device_stub__normalize_cdfPjPfi # -- Begin function _Z28__device_stub__normalize_cdfPjPfi .type _Z28__device_stub__normalize_cdfPjPfi,@function _Z28__device_stub__normalize_cdfPjPfi: # @_Z28__device_stub__normalize_cdfPjPfi .cfi_startproc # %bb.0: pushq %r15 .cfi_def...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13normalize_cdfPjPfi ; -- Begin function _Z13normalize_cdfPjPfi .globl _Z13normalize_cdfPjPfi .p2align 8 .type _Z13normalize_cdfPjPfi,@function _Z13normalize_cdfPjPfi: ; @_Z13normalize_cdfPjPfi ; %bb.0: s_clause 0x1 s_load_b32 s2, s...
ffb533381e66c509ff9aa046c4c8cee316ec6a78
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> #include <string.h> #include <stdlib.h> __global__ void findSubstr(char *str, char *substr, int *len) { int subStrLen = *len; int k = threadIdx.x; for (int j = 0, i = k; j < subStrLen; j++, i++) { if(str[i] != s...
.file "tmpxft_002e1c2e_00000000-6_findSubstr.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cud...
code for sm_89 Function : _Z10findSubstrPcS_Pi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include "hip/hip_runtime.h" #include <stdio.h> #include <string.h> #include <stdlib.h> __global__ void findSubstr(char *str, char *substr, int *len) { int subStrLen = *len; int k = threadIdx.x; for (int j = 0, i = k; j < subStrLen; j++, i++) { if(str[i] != substr[j]) { re...
.text .file "findSubstr.hip" .globl _Z25__device_stub__findSubstrPcS_Pi # -- Begin function _Z25__device_stub__findSubstrPcS_Pi .type _Z25__device_stub__findSubstrPcS_Pi,@function _Z25__device_stub__findSubstrPcS_Pi: # @_Z25__device_stub__findSubstrPcS_Pi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10findSubstrPcS_Pi ; -- Begin function _Z10findSubstrPcS_Pi .globl _Z10findSubstrPcS_Pi .p2align 8 .type _Z10findSubstrPcS_Pi,@function _Z10findSubstrPcS_Pi: ; @_Z10findSubstrPcS_Pi ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x10 s_wai...
fd1577c2ac83f9e396a6d481e35dc74f7a8923f7
#include "includes.h" /* Copyright 2014-2015 Dake Feng, Peri LLC, dakefeng@gmail.com This file is part of TomograPeri. TomograPeri is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the L...
.file "tmpxft_00313f6f_00000000-6__weightTRightkernel_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: .s...
code for sm_89 Function : _Z24_weightTRightkernel_cudaiifPfS_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" /* Copyright 2014-2015 Dake Feng, Peri LLC, dakefeng@gmail.com This file is part of TomograPeri. TomograPeri is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundat...
.text .file "_weightTRightkernel_cuda.hip" .globl _Z39__device_stub___weightTRightkernel_cudaiifPfS_S_S_ # -- Begin function _Z39__device_stub___weightTRightkernel_cudaiifPfS_S_S_ .type _Z39__device_stub___weightTRightkernel_cudaiifPfS_S_S_,@function _Z39__device_stub___weightTRightkernel_cudaiifPfS_S_S_: # @_Z39__...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z24_weightTRightkernel_cudaiifPfS_S_S_ ; -- Begin function _Z24_weightTRightkernel_cudaiifPfS_S_S_ .globl _Z24_weightTRightkernel_cudaiifPfS_S_S_ .p2align 8 .type _Z24_weightTRightkernel_cudaiifPfS_S_S_,@function _Z24_weightTRightkernel_cudaiifPfS_S_S_...
dc24d00cfef70dbadd85a8ccb893fc3f9f2df8e3
// Date March 26 2029 //Programer: Hemanta Bhattarai // Progarm : To add two arrays #include<stdio.h> #include<stdlib.h> //for random numbers // device kernal __global__ void vecAdd(int *A, int *B, int *C) { int i = threadIdx.x; C[i] = A[i] + B[i]; } int main() { // host function definition int get_random()...
.file "tmpxft_0039c032_00000000-6_vec_add.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 : _Z6vecAddPiS_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 */ ...
// Date March 26 2029 //Programer: Hemanta Bhattarai // Progarm : To add two arrays #include <hip/hip_runtime.h> #include<stdio.h> #include<stdlib.h> //for random numbers // device kernal __global__ void vecAdd(int *A, int *B, int *C) { int i = threadIdx.x; C[i] = A[i] + B[i]; } int main() { // host functio...
.text .file "vec_add.hip" .globl _Z21__device_stub__vecAddPiS_S_ # -- Begin function _Z21__device_stub__vecAddPiS_S_ .type _Z21__device_stub__vecAddPiS_S_,@function _Z21__device_stub__vecAddPiS_S_: # @_Z21__device_stub__vecAddPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .c...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6vecAddPiS_S_ ; -- Begin function _Z6vecAddPiS_S_ .globl _Z6vecAddPiS_S_ .p2align 8 .type _Z6vecAddPiS_S_,@function _Z6vecAddPiS_S_: ; @_Z6vecAddPiS_S_ ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x0 v_lshlrev_b32_e32 v0, 2, ...
382a9776d9759f4b1de8b4e13f1935f690d5f30d
//#include "crop_cuda.h" // //#include <stdio.h> //#include <cstdlib> //#include <math.h> //#include <iostream> // //#include "../common/macro.h" // // //namespace va_cv { // //texture<unsigned char, 2> srcTexture2D; //__constant__ int rect[4]; // // //extern "C" __global__ void kernel_crop_grey(unsigned char *dst ) {...
.file "tmpxft_003539ed_00000000-6_crop_cuda_2d.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89
#include <hip/hip_runtime.h> //#include "crop_cuda.h" // //#include <stdio.h> //#include <cstdlib> //#include <math.h> //#include <iostream> // //#include "../common/macro.h" // // //namespace va_cv { // //texture<unsigned char, 2> srcTexture2D; //__constant__ int rect[4]; // // //extern "C" __global__ void kernel_cr...
.text .file "crop_cuda_2d.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 e5bf7e55c91490b07c49d8...
.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-...
cb2f50451323a9b879ffb118e26f03fd33204086
/* ------------ * This code is provided solely for the personal and private use of * students taking the CSC367 course at the University of Toronto. * Copying for purposes other than this use is expressly prohibited. * All forms of distribution of this code, whether as given or with * any changes, are expressly...
.file "tmpxft_0036686a_00000000-6_dot_kernel8-10.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_...
code for sm_89 Function : _Z12dot_kernel10PfS_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 */ /* 0x000fe4000...
#include <hip/hip_runtime.h> /* ------------ * This code is provided solely for the personal and private use of * students taking the CSC367 course at the University of Toronto. * Copying for purposes other than this use is expressly prohibited. * All forms of distribution of this code, whether as given or with ...
.text .file "dot_kernel8-10.hip" .globl _Z26__device_stub__dot_kernel8PfS_S_i # -- Begin function _Z26__device_stub__dot_kernel8PfS_S_i .type _Z26__device_stub__dot_kernel8PfS_S_i,@function _Z26__device_stub__dot_kernel8PfS_S_i: # @_Z26__device_stub__dot_kernel8PfS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_de...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11dot_kernel8PfS_S_i ; -- Begin function _Z11dot_kernel8PfS_S_i .globl _Z11dot_kernel8PfS_S_i .p2align 8 .type _Z11dot_kernel8PfS_S_i,@function _Z11dot_kernel8PfS_S_i: ; @_Z11dot_kernel8PfS_S_i ; %bb.0: s_endpgm .section .rodata,"a"...
acea4f091fefcf4c9f375b2b68722c89878845b3
#include "includes.h" __global__ void kEltwiseLogregCost(float* predmap, float* indmap, float*indlogpred, float* correctprobs, int numCases, int numTasks, int per_thread_case) { const int task_id = blockIdx.x; const int start_tx = threadIdx.x * per_thread_case; const int end_tx = min(start_tx + per_thread_case, numCase...
.file "tmpxft_002271e9_00000000-6_kEltwiseLogregCost.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 : _Z18kEltwiseLogregCostPfS_S_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 "includes.h" __global__ void kEltwiseLogregCost(float* predmap, float* indmap, float*indlogpred, float* correctprobs, int numCases, int numTasks, int per_thread_case) { const int task_id = blockIdx.x; const int start_tx = threadIdx.x * per_thread_case; const int end_tx = min(start...
.text .file "kEltwiseLogregCost.hip" .globl _Z33__device_stub__kEltwiseLogregCostPfS_S_S_iii # -- Begin function _Z33__device_stub__kEltwiseLogregCostPfS_S_S_iii .type _Z33__device_stub__kEltwiseLogregCostPfS_S_S_iii,@function _Z33__device_stub__kEltwiseLogregCostPfS_S_S_iii: # @_Z33__device_stub__kEltwiseLogregCos...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z18kEltwiseLogregCostPfS_S_S_iii ; -- Begin function _Z18kEltwiseLogregCostPfS_S_S_iii .globl _Z18kEltwiseLogregCostPfS_S_S_iii .p2align 8 .type _Z18kEltwiseLogregCostPfS_S_S_iii,@function _Z18kEltwiseLogregCostPfS_S_S_iii: ; @_Z18kEltwiseLogregCo...
4e536c3a93919e81b956db8000adc1a4594212b0
__global__ void init(float* xbar, float* xcur, float* xn, float* y1, float* y2, float* img, int w, int h, int nc) { int x = threadIdx.x + blockDim.x * blockIdx.x; int y = threadIdx.y + blockDim.y * blockIdx.y; if (x < w && y < h) { int i; float val; for (int z = 0; z < nc; z++) { i = x + w * y + w * h * z;...
.file "tmpxft_0036ac14_00000000-6_rof_init.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 : _Z4initPfS_S_S_S_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> __global__ void init(float* xbar, float* xcur, float* xn, float* y1, float* y2, float* img, int w, int h, int nc) { int x = threadIdx.x + blockDim.x * blockIdx.x; int y = threadIdx.y + blockDim.y * blockIdx.y; if (x < w && y < h) { int i; float val; for (int z = 0; z < nc; z++) {...
.text .file "rof_init.hip" .globl _Z19__device_stub__initPfS_S_S_S_S_iii # -- Begin function _Z19__device_stub__initPfS_S_S_S_S_iii .type _Z19__device_stub__initPfS_S_S_S_S_iii,@function _Z19__device_stub__initPfS_S_S_S_S_iii: # @_Z19__device_stub__initPfS_S_S_S_S_iii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4initPfS_S_S_S_S_iii ; -- Begin function _Z4initPfS_S_S_S_S_iii .globl _Z4initPfS_S_S_S_S_iii .p2align 8 .type _Z4initPfS_S_S_S_S_iii,@function _Z4initPfS_S_S_S_S_iii: ; @_Z4initPfS_S_S_S_S_iii ; %bb.0: s_clause 0x1 s_load_b32 s2, s...
81c4303617600185046285bd34ba380dec57d8ff
#include <cuda_runtime.h> #include <stdio.h> #include <sys/time.h> inline double seconds() { struct timeval tp; struct timezone tzp; int i = gettimeofday(&tp, &tzp); return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6); } int total_size = 1024 * 1024; // 1MB void test(int size) { double iStart, iElaps;...
.file "tmpxft_0024ae6d_00000000-6_cudaMallocBenchmark.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 _...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> #include <sys/time.h> inline double seconds() { struct timeval tp; struct timezone tzp; int i = gettimeofday(&tp, &tzp); return ((double)tp.tv_sec + (double)tp.tv_usec * 1.e-6); } int total_size = 1024 * 1024; // 1MB void test(int size) { double iStart, iEla...
.text .file "cudaMallocBenchmark.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z4testi .LCPI0_0: .quad 0x3eb0c6f7a0b5ed8d # double 9.9999999999999995E-7 .text .globl _Z4testi .type _Z4testi,@function _Z4testi: ...
.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-...
4ace5b1822467edcba47e344da4d6cac7c97c6c8
#include <stdlib.h> #include <stdio.h> void fill_matrix(double *mat, unsigned numRows, unsigned numCols) { for(unsigned i=0; i < numRows; i++) for(unsigned j=0; j < numCols; j++) { mat[i*numCols + j] = i*2.1f + j*3.2f; } } void print_matrix_to_file(double *mat, unsigned numRows, unsi...
.file "tmpxft_0024e82a_00000000-6_ee16b068_2.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__cud...
code for sm_89 Function : _Z23MatrixMulKernel_row_majPdS_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 <stdlib.h> #include <stdio.h> void fill_matrix(double *mat, unsigned numRows, unsigned numCols) { for(unsigned i=0; i < numRows; i++) for(unsigned j=0; j < numCols; j++) { mat[i*numCols + j] = i*2.1f + j*3.2f; } } void print_matrix_to_file(doubl...
.text .file "ee16b068_2.hip" .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 # -- Begin function _Z11fill_matrixPdjj .LCPI0_0: .long 0x40066666 # float 2.0999999 .LCPI0_1: .long 0x404ccccd # float 3.20000005 .text .globl _Z11fill_matrixPd...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z23MatrixMulKernel_col_majPdS_S_i ; -- Begin function _Z23MatrixMulKernel_col_majPdS_S_i .globl _Z23MatrixMulKernel_col_majPdS_S_i .p2align 8 .type _Z23MatrixMulKernel_col_majPdS_S_i,@function _Z23MatrixMulKernel_col_majPdS_S_i: ; @_Z23MatrixMulKer...
ba46a27345521bf537ed36a6d5da60f2c3463bd0
#include <stdlib.h> #include <stdio.h> #include <math.h> #define A1 0.31938153 #define A2 -0.356563782 #define A3 1.781477937 #define A4 -1.821255978 #define A5 1.330274429 #define RSQRT2PI 0.3989422804 __device__ double cndGPU(double d) { double K = 1.0 / (1.0 + 0.2316419 * fabs(d)); double ...
.file "tmpxft_002a39e0_00000000-6_black_scholes.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__...
code for sm_89 Function : _Z15BlackScholesGPUPdS_S_S_S_ddi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <stdlib.h> #include <stdio.h> #include <math.h> #define A1 0.31938153 #define A2 -0.356563782 #define A3 1.781477937 #define A4 -1.821255978 #define A5 1.330274429 #define RSQRT2PI 0.3989422804 __device__ double cndGPU(double d) { double K = 1.0 / (1.0 + 0.2316419 * ...
.text .file "black_scholes.hip" .globl _Z30__device_stub__BlackScholesGPUPdS_S_S_S_ddi # -- Begin function _Z30__device_stub__BlackScholesGPUPdS_S_S_S_ddi .type _Z30__device_stub__BlackScholesGPUPdS_S_S_S_ddi,@function _Z30__device_stub__BlackScholesGPUPdS_S_S_S_ddi: # @_Z30__device_stub__BlackScholesGPUPdS_S_S_S_d...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15BlackScholesGPUPdS_S_S_S_ddi ; -- Begin function _Z15BlackScholesGPUPdS_S_S_S_ddi .globl _Z15BlackScholesGPUPdS_S_S_S_ddi .p2align 8 .type _Z15BlackScholesGPUPdS_S_S_S_ddi,@function _Z15BlackScholesGPUPdS_S_S_S_ddi: ; @_Z15BlackScholesGPUPdS_S...
c11eb921cb759005818fd930920e8fef09573109
/* File: vec_add.cu * Purpose: Implement vector addition on a gpu using cuda * * Compile: nvcc [-g] [-G] -o vec_add vec_add.cu * Run: ./vec_add */ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <math.h> __global__ void Vec_add(unsigned int x[], unsigned int y[], unsigned int z[], ...
.file "tmpxft_0025d5ff_00000000-6_vec_add.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2043: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2043: .size _ZL26__cudaUn...
code for sm_89 Function : _Z7Vec_addPjS_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 */ ...
/* File: vec_add.cu * Purpose: Implement vector addition on a gpu using cuda * * Compile: nvcc [-g] [-G] -o vec_add vec_add.cu * Run: ./vec_add */ #include <hip/hip_runtime.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <math.h> __global__ void Vec_add(unsigned int x[], unsign...
.text .file "vec_add.hip" .globl _Z22__device_stub__Vec_addPjS_S_i # -- Begin function _Z22__device_stub__Vec_addPjS_S_i .type _Z22__device_stub__Vec_addPjS_S_i,@function _Z22__device_stub__Vec_addPjS_S_i: # @_Z22__device_stub__Vec_addPjS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z7Vec_addPjS_S_i ; -- Begin function _Z7Vec_addPjS_S_i .globl _Z7Vec_addPjS_S_i .p2align 8 .type _Z7Vec_addPjS_S_i,@function _Z7Vec_addPjS_S_i: ; @_Z7Vec_addPjS_S_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_...
edd1b0637e4f7d1931b261eaa11c97f3e2fff9bc
#include "includes.h" __global__ void expandKernel(double* values, int n_original, int factor, double* expanded){ int tid0 = threadIdx.x + blockIdx.x*blockDim.x ; int stride = blockDim.x*gridDim.x ; for ( int tid = tid0 ; tid < n_original*factor ; tid += stride){ int idx = floor(double(tid)/factor) ; expanded[tid] = va...
.file "tmpxft_00352726_00000000-6_expandKernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89 Function : _Z12expandKernelPdiiS_ .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 expandKernel(double* values, int n_original, int factor, double* expanded){ int tid0 = threadIdx.x + blockIdx.x*blockDim.x ; int stride = blockDim.x*gridDim.x ; for ( int tid = tid0 ; tid < n_original*factor ; tid += stride){ int idx = floor(double(tid...
.text .file "expandKernel.hip" .globl _Z27__device_stub__expandKernelPdiiS_ # -- Begin function _Z27__device_stub__expandKernelPdiiS_ .type _Z27__device_stub__expandKernelPdiiS_,@function _Z27__device_stub__expandKernelPdiiS_: # @_Z27__device_stub__expandKernelPdiiS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12expandKernelPdiiS_ ; -- Begin function _Z12expandKernelPdiiS_ .globl _Z12expandKernelPdiiS_ .p2align 8 .type _Z12expandKernelPdiiS_,@function _Z12expandKernelPdiiS_: ; @_Z12expandKernelPdiiS_ ; %bb.0: s_clause 0x1 s_load_b32 s6, s...
14baf3352454c3a2bf8a1340e193a1715f6aa8dd
#include<stdio.h> __global__ void vecadd(float *a, float *b, float *c, int n) { int i= threadIdx.x + blockDim.x*blockIdx.x; if(i<n) c[i] = a[i]+b[i]; } int main(){ int n; scanf("%d",&n); int a[n],b[n]; for(int i=0; i<n; i++) scanf("%d",&a[i]); for(int i=0;i<n; i++) scanf("%d",&b[i]); int c[n]; float *...
.file "tmpxft_00313bc8_00000000-6_bhanu.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z6vecaddPfS_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 vecadd(float *a, float *b, float *c, int n) { int i= threadIdx.x + blockDim.x*blockIdx.x; if(i<n) c[i] = a[i]+b[i]; } int main(){ int n; scanf("%d",&n); int a[n],b[n]; for(int i=0; i<n; i++) scanf("%d",&a[i]); for(int i=0;i<n; i++) scanf("%...
.text .file "bhanu.hip" .globl _Z21__device_stub__vecaddPfS_S_i # -- Begin function _Z21__device_stub__vecaddPfS_S_i .type _Z21__device_stub__vecaddPfS_S_i,@function _Z21__device_stub__vecaddPfS_S_i: # @_Z21__device_stub__vecaddPfS_S_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6vecaddPfS_S_i ; -- Begin function _Z6vecaddPfS_S_i .globl _Z6vecaddPfS_S_i .p2align 8 .type _Z6vecaddPfS_S_i,@function _Z6vecaddPfS_S_i: ; @_Z6vecaddPfS_S_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_b32 ...
0d8c71e0a17d3b5df4f36e821194b65c8403ba84
#include "includes.h" __global__ void fill(int * v, std::size_t size) { auto id = blockIdx.x * blockDim.x + threadIdx.x; if( id < size) { v [ id ] = id; } }
.file "tmpxft_00334ba9_00000000-6_fill.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z4fillPim .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 fill(int * v, std::size_t size) { auto id = blockIdx.x * blockDim.x + threadIdx.x; if( id < size) { v [ id ] = id; } }
.text .file "fill.hip" .globl _Z19__device_stub__fillPim # -- Begin function _Z19__device_stub__fillPim .type _Z19__device_stub__fillPim,@function _Z19__device_stub__fillPim: # @_Z19__device_stub__fillPim .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4fillPim ; -- Begin function _Z4fillPim .globl _Z4fillPim .p2align 8 .type _Z4fillPim,@function _Z4fillPim: ; @_Z4fillPim ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x1c s_load_b128 s[0:3], s[0:1], 0x0 s_...
d36c6fd590645865b2e6d9b17792cbfb71b83c44
#include "includes.h" /* CUDA MATRIX NORMALIZATION MOHAMMED ARBAAZ SHAREEF A2077541 ASSIGNMENT-4 INTRODUCTION TO PARALLEL AND DISTRIBUTED COMPUTING */ //Incuding all the required libraries /* Program Parameters */ #define MAXN 8000 /* Max value of N */ int N; /* Matrix size */ /* Matrices */ float A[MAXN*MAXN], B[...
.file "tmpxft_003b8999_00000000-6_normCalc.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 : _Z8normCalcPfS_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" /* CUDA MATRIX NORMALIZATION MOHAMMED ARBAAZ SHAREEF A2077541 ASSIGNMENT-4 INTRODUCTION TO PARALLEL AND DISTRIBUTED COMPUTING */ //Incuding all the required libraries /* Program Parameters */ #define MAXN 8000 /* Max value of N */ int N; /* Matrix size */ /* Matr...
.text .file "normCalc.hip" .globl _Z23__device_stub__normCalcPfS_i # -- Begin function _Z23__device_stub__normCalcPfS_i .type _Z23__device_stub__normCalcPfS_i,@function _Z23__device_stub__normCalcPfS_i: # @_Z23__device_stub__normCalcPfS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r1...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8normCalcPfS_i ; -- Begin function _Z8normCalcPfS_i .globl _Z8normCalcPfS_i .p2align 8 .type _Z8normCalcPfS_i,@function _Z8normCalcPfS_i: ; @_Z8normCalcPfS_i ; %bb.0: s_clause 0x1 s_load_b32 s3, s[0:1], 0x24 s_load_b32 ...
c42bc9f789bdde12606667c27e7d79ad3af95360
#include <cuda_runtime.h> #include <stdio.h> #include "includes/kernel.cuh" #include "includes/utils.cuh" #define L1Func(I, x, y) (I) #define L2Func(I, x, y) (powf(I, 2)) #define LxFunc(I, x, y) (x * I) #define LyFunc(I, x, y) (y * I) #define RowCumSum(name, func) \ __...
.file "tmpxft_0024ceb4_00000000-6_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z26calculateFeatureDifferencePfiiS_S_S_S_iiS_ .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 "includes/kernel.cuh" #include "includes/utils.cuh" #define L1Func(I, x, y) (I) #define L2Func(I, x, y) (powf(I, 2)) #define LxFunc(I, x, y) (x * I) #define LyFunc(I, x, y) (y * I) #define RowCumSum(name, func) \ ...
.text .file "kernel.hip" .globl _Z30__device_stub__calcL1RowCumSumPKfPfii # -- Begin function _Z30__device_stub__calcL1RowCumSumPKfPfii .type _Z30__device_stub__calcL1RowCumSumPKfPfii,@function _Z30__device_stub__calcL1RowCumSumPKfPfii: # @_Z30__device_stub__calcL1RowCumSumPKfPfii .cfi_startproc # %bb.0: pushq %r...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15calcL1RowCumSumPKfPfii ; -- Begin function _Z15calcL1RowCumSumPKfPfii .globl _Z15calcL1RowCumSumPKfPfii .p2align 8 .type _Z15calcL1RowCumSumPKfPfii,@function _Z15calcL1RowCumSumPKfPfii: ; @_Z15calcL1RowCumSumPKfPfii ; %bb.0: s_clause 0x...
b10916f1dda940a77760684079a8076cebecb45a
#include "graphs.cuh" #include <ctime> #include <algorithm> using namespace graphs; __global__ void stage1(bool * status, int * d_q_curlen, int * d_q_nexlen, int * d_S_len, int * d_ends_len, int * d_q_cur, int * d_q_next, int * d_sigma, int * d_delta, int * d_S, int * d_ends, int * d_dist,int* d_depth, int * d_no_nod...
.file "tmpxft_002cc3b9_00000000-6_graphs.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3892: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_en...
code for sm_89 Function : _Z8stage2_2PiS_S_S_PN6graphs4edgeEii .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#ifndef GRAPHS #define GRAPHS #include <iostream> using namespace std; namespace graphs{ typedef struct edge{ int neighbours[10]; int no_neigh; } Edge; typedef struct result{ double time; int delta; } Results; Results calculateBC(Edge * edges, int no_nodes, ...
.text .file "graphs.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0...
.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-...
d232f652e75c0a3ae039b567cb6c4b031211e7e0
#include "includes.h" __global__ void kernel_m(unsigned int * ind, unsigned int *scand, unsigned int shift, const unsigned int ne) { unsigned int sosm = 1 << shift; int m_i_b = threadIdx.x + blockDim.x * blockIdx.x; if (m_i_b >= ne) return; scand[m_i_b] = ((ind[m_i_b] & sosm) >> shift) ? 0 : 1; }
.file "tmpxft_0024c911_00000000-6_kernel_m.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 : _Z8kernel_mPjS_jj .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void kernel_m(unsigned int * ind, unsigned int *scand, unsigned int shift, const unsigned int ne) { unsigned int sosm = 1 << shift; int m_i_b = threadIdx.x + blockDim.x * blockIdx.x; if (m_i_b >= ne) return; scand[m_i_b] = ((ind[m_i_b] & sosm) >> shift) ? ...
.text .file "kernel_m.hip" .globl _Z23__device_stub__kernel_mPjS_jj # -- Begin function _Z23__device_stub__kernel_mPjS_jj .type _Z23__device_stub__kernel_mPjS_jj,@function _Z23__device_stub__kernel_mPjS_jj: # @_Z23__device_stub__kernel_mPjS_jj .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8kernel_mPjS_jj ; -- Begin function _Z8kernel_mPjS_jj .globl _Z8kernel_mPjS_jj .p2align 8 .type _Z8kernel_mPjS_jj,@function _Z8kernel_mPjS_jj: ; @_Z8kernel_mPjS_jj ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x24 s_load_...
b93cff145fb71e2213d679cad13a826ec1ba6faf
#include <stdio.h> __global__ void k_lu_f32(int n, float* A, int stride_row, int stride_col){ for (int i=0;i<n;i++){ for (int j=i+1;j<n;j++){ float factor=-A[j*stride_col+i*stride_row]/A[i*stride_col+i*stride_row]; for (int k=i+1;k<n;k++){ A[j*stride_col+k*stride_row]=A[j*stride_col+k*stride_row]+A[i*strid...
.file "tmpxft_003436fe_00000000-6_lu.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 : _Z20k_lu_solve_upper_f32iiPKfiiS0_iiPfii .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> #ifdef __HIPCC__ __global__ #endif void k_lu_f32(int n, float* A, int stride_row, int stride_col); #ifdef __HIPCC__ __host__ #endif void lu_solve_f32_device(int n, int m, float* A_d, int stride_row_a, int stride_col_a, float* B_d, int stride_row_b, int stride_col_b, float* X...
.text .file "lu.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 e5bf7e55c91490b07c49d8960fa7983d...
.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-...
fd22b17df9a5f3ee3d8bbbf49581755887894556
#include <stdio.h> #include <stdlib.h> /* =================================== scan_cuda.cu =================================== a[39999999] = 799999980000000.000000 real 0m2.485s user 0m1.233s sys 0m1.130s ==27669== NVPROF is profiling process 27669, command: ./scan_cuda a[39999999] = 799999980...
.file "tmpxft_0037f70e_00000000-6_scan_cuda.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cuda...
code for sm_89 Function : _Z8add_cudaPdS_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 <stdlib.h> /* =================================== scan_cuda.cu =================================== a[39999999] = 799999980000000.000000 real 0m2.485s user 0m1.233s sys 0m1.130s ==27669== NVPROF is profiling process 27669, command: ./scan...
.text .file "scan_cuda.hip" .globl _Z24__device_stub__scan_cudaPdS_i # -- Begin function _Z24__device_stub__scan_cudaPdS_i .type _Z24__device_stub__scan_cudaPdS_i,@function _Z24__device_stub__scan_cudaPdS_i: # @_Z24__device_stub__scan_cudaPdS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 push...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9scan_cudaPdS_i ; -- Begin function _Z9scan_cudaPdS_i .globl _Z9scan_cudaPdS_i .p2align 8 .type _Z9scan_cudaPdS_i,@function _Z9scan_cudaPdS_i: ; @_Z9scan_cudaPdS_i ; %bb.0: s_clause 0x2 s_load_b32 s2, s[0:1], 0x24 s_load_...
bf015f37c8ddb025280da3a27f71c1882614f27a
extern "C" __global__ void grav(int n, double G, double *mass, double *posX, double *posY, double *rForceX, double *rForceY) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = blockIdx.y * blockDim.y + threadIdx.y; if (i < n && j < n && i != j) { double relX = posX[j] - posX[i]; ...
.file "tmpxft_00262eba_00000000-6_JCudaGravityKernel.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 : grav .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <hip/hip_runtime.h> extern "C" __global__ void grav(int n, double G, double *mass, double *posX, double *posY, double *rForceX, double *rForceY) { int i = blockIdx.x * blockDim.x + threadIdx.x; int j = blockIdx.y * blockDim.y + threadIdx.y; if (i < n && j < n && i != j) { double relX...
.text .file "JCudaGravityKernel.hip" .globl __device_stub__grav # -- Begin function __device_stub__grav .type __device_stub__grav,@function __device_stub__grav: # @__device_stub__grav .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_offset 24 pus...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected grav ; -- Begin function grav .globl grav .p2align 8 .type grav,@function grav: ; @grav ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x44 s_load_b32 s3, s[0:1], 0x0 v_and_b32_e32 v2, 0x3ff, v0 v_...
1fe735d9bcb563761c8124efd61a11291f3bdd7e
#include <memory> #include <iostream> #include <cuda_runtime.h> int main(void) { int device_count = 0; cudaGetDeviceCount(&device_count); std::cout << "There are " << device_count << " gpus on this computer" << std::endl; }
.file "tmpxft_0031a6c6_00000000-6_access_gpu_devices.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4282: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@...
code for sm_89
#include <memory> #include <iostream> #include <hip/hip_runtime.h> int main(void) { int device_count = 0; hipGetDeviceCount(&device_count); std::cout << "There are " << device_count << " gpus on this computer" << std::endl; }
.text .file "access_gpu_devices.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl main # -- Begin function main .type main,@function ma...
.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-...
a1e7c4acc0f86dee8658112cc891c57fca393a65
#include "includes.h" #define DOUBLE #ifdef DOUBLE #define Complex cufftDoubleComplex #define Real double #define Transform CUFFT_Z2Z #define TransformExec cufftExecZ2Z #else #define Complex cufftComplex #define Real float #define Transform CUFFT_C2C #define TransformExec cufftExecC2C #endif #define TILE_DIM 8 /...
.file "tmpxft_00207f7b_00000000-6_spread_y_i_r.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89 Function : _Z12spread_y_i_rPdS_ .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 DOUBLE #ifdef DOUBLE #define Complex hipfftDoubleComplex #define Real double #define Transform HIPFFT_Z2Z #define TransformExec hipfftExecZ2Z #else #define Complex hipfftComplex #define Real float #define Transform HIPFFT_C2C #define TransformExec hipfftEx...
.text .file "spread_y_i_r.hip" .globl _Z27__device_stub__spread_y_i_rPdS_ # -- Begin function _Z27__device_stub__spread_y_i_rPdS_ .type _Z27__device_stub__spread_y_i_rPdS_,@function _Z27__device_stub__spread_y_i_rPdS_: # @_Z27__device_stub__spread_y_i_rPdS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12spread_y_i_rPdS_ ; -- Begin function _Z12spread_y_i_rPdS_ .globl _Z12spread_y_i_rPdS_ .p2align 8 .type _Z12spread_y_i_rPdS_,@function _Z12spread_y_i_rPdS_: ; @_Z12spread_y_i_rPdS_ ; %bb.0: s_clause 0x2 s_load_b32 s4, s[0:1], 0...
5e0e122de3ce66a05eff991810517156d69ee2ee
#include <stdlib.h> #include <stdio.h> /* __global__ void kernel10(int *a) { printf("Hello from thread %d in block %d\n", threadIdx.x, blockIdx.x); } */ __global__ void kernel10(int *a) { printf("Hello from thread %d and %d in block %d and %d \n", threadIdx.x, threadIdx.y, blockIdx.x, blockIdx.y); } int...
.file "tmpxft_00390d92_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 : _Z8kernel10Pi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <stdlib.h> #include <stdio.h> /* __global__ void kernel10(int *a) { printf("Hello from thread %d in block %d\n", threadIdx.x, blockIdx.x); } */ __global__ void kernel10(int *a) { printf("Hello from thread %d and %d in block %d and %d \n", threadIdx.x, threadIdx.y, block...
.text .file "test.hip" .globl _Z23__device_stub__kernel10Pi # -- Begin function _Z23__device_stub__kernel10Pi .type _Z23__device_stub__kernel10Pi,@function _Z23__device_stub__kernel10Pi: # @_Z23__device_stub__kernel10Pi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8kernel10Pi ; -- Begin function _Z8kernel10Pi .globl _Z8kernel10Pi .p2align 8 .type _Z8kernel10Pi,@function _Z8kernel10Pi: ; @_Z8kernel10Pi ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x58 v_mbcnt_lo_u32_b32 v2, -1, 0 v_m...
66d7f7ad3e6021951002ea8130f49e1f2bbf2d97
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdio.h> #include <stdlib.h> #define N 5 __global__ void CUDAStrCopy(char *A, char C[N]) { int i = threadIdx.x; C[i] = A[i] - 32; printf("%c\t", C[i]); } int main() { char A[N]; char C[N]; char *pa, *pc; for(int i = 0; i < N; i++) A[i...
.file "tmpxft_002a0ced_00000000-6_ex.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 : _Z11CUDAStrCopyPcS_ .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 N 5 __global__ void CUDAStrCopy(char *A, char C[N]) { int i = threadIdx.x; C[i] = A[i] - 32; printf("%c\t", C[i]); } int main() { char A[N]; char C[N]; char *pa, *pc; for(int i = 0; i < N; i++) A[i] = 'a'; printf("C = \n"); hipEv...
.text .file "ex.hip" .globl _Z26__device_stub__CUDAStrCopyPcS_ # -- Begin function _Z26__device_stub__CUDAStrCopyPcS_ .type _Z26__device_stub__CUDAStrCopyPcS_,@function _Z26__device_stub__CUDAStrCopyPcS_: # @_Z26__device_stub__CUDAStrCopyPcS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11CUDAStrCopyPcS_ ; -- Begin function _Z11CUDAStrCopyPcS_ .globl _Z11CUDAStrCopyPcS_ .p2align 8 .type _Z11CUDAStrCopyPcS_,@function _Z11CUDAStrCopyPcS_: ; @_Z11CUDAStrCopyPcS_ ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x0 v_mbcnt_l...
22fd72184ee7799e5ad9875229afe911ec24446d
__global__ void ch1(unsigned char* Pout, unsigned char* Pin, int width, int height) { int channels = 3; int col = threadIdx.x + blockIdx.x * blockDim.x; int row = threadIdx.y + blockIdx.y * blockDim.y; // check if pixel within range if (col < width && row < height){ int gOffset = row * wid...
.file "tmpxft_00244069_00000000-6_gpu_kernels.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2014: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2014: .size _ZL26__cu...
code for sm_89 Function : _Z19gpu_grey_and_threshPhS_ii .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> __global__ void ch1(unsigned char* Pout, unsigned char* Pin, int width, int height) { int channels = 3; int col = threadIdx.x + blockIdx.x * blockDim.x; int row = threadIdx.y + blockIdx.y * blockDim.y; // check if pixel within range if (col < width && row < height){ ...
.text .file "gpu_kernels.hip" .globl _Z18__device_stub__ch1PhS_ii # -- Begin function _Z18__device_stub__ch1PhS_ii .type _Z18__device_stub__ch1PhS_ii,@function _Z18__device_stub__ch1PhS_ii: # @_Z18__device_stub__ch1PhS_ii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_de...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3ch1PhS_ii ; -- Begin function _Z3ch1PhS_ii .globl _Z3ch1PhS_ii .p2align 8 .type _Z3ch1PhS_ii,@function _Z3ch1PhS_ii: ; @_Z3ch1PhS_ii ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_load_b64 s[4:5], s[0:1], ...
7d2c55d849d085220000b72abe72b0c0755db5bc
#include <cuda.h> #include <iostream> #define checkCudaErrors(err) __checkCudaErrors (err, __FILE__, __LINE__) inline void __checkCudaErrors( CUresult err, const char *file, const int line ) { if( CUDA_SUCCESS != err) { fprintf(stderr, "CUDA Driver API error = %04d from file <%s>, line ...
.file "tmpxft_0031f4f3_00000000-6_hello_world.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3639: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .c...
code for sm_89
#include <hip/hip_runtime.h> #include <iostream> #define checkCudaErrors(err) __checkCudaErrors (err, __FILE__, __LINE__) inline void __checkCudaErrors( hipError_t err, const char *file, const int line ) { if( hipSuccess != err) { fprintf(stderr, "CUDA Driver API error = %04d from file ...
.text .file "hello_world.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl main # -- Begin function main .type main,@function main: ...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
ed59a421556a62ec11ab18209b60caf2cb809b39
__global__ void kernel(float4* a, const cudaTextureObject_t* tex){ a[0] = tex3D<float4>(tex[blockIdx.x], 0.1, 0.2, 0.3); }
.file "tmpxft_002bc334_00000000-6_test.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z6kernelP6float4PKy .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 kernel(float4* a, const hipTextureObject_t* tex){ a[0] = tex3D<float4>(tex[blockIdx.x], 0.1, 0.2, 0.3); }
.text .file "test.hip" .globl _Z21__device_stub__kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture # -- Begin function _Z21__device_stub__kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture .type _Z21__device_stub__kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture,@function _Z21__device_stub__kernelP15HIP_vector_type...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture ; -- Begin function _Z6kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture .globl _Z6kernelP15HIP_vector_typeIfLj4EEPKP13__hip_texture .p2align 8 .type _Z6kernelP15HIP_vector_typeIfLj4EEPKP13__hip_textu...
5320cbebc1712c9f9213a22ddf5a7f87816a909e
/* * purpose: model the event of infection with avian flu virus * substrain H7N9 known to also affect humans; infection * will be said to occur when a random number from the * interval [0,1] falls into a certain range representing * the fraction of l...
.file "tmpxft_002602f7_00000000-6_h7n9_v4.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cudaUn...
code for sm_89 Function : _Z25update_nmb_infected_cellsiPfS_ .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 */ ...
/* * purpose: model the event of infection with avian flu virus * substrain H7N9 known to also affect humans; infection * will be said to occur when a random number from the * interval [0,1] falls into a certain range representing * the fraction of l...
.text .file "h7n9_v4.hip" .globl _Z40__device_stub__update_nmb_infected_cellsiPfS_ # -- Begin function _Z40__device_stub__update_nmb_infected_cellsiPfS_ .type _Z40__device_stub__update_nmb_infected_cellsiPfS_,@function _Z40__device_stub__update_nmb_infected_cellsiPfS_: # @_Z40__device_stub__update_nmb_infected_cell...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z25update_nmb_infected_cellsiPfS_ ; -- Begin function _Z25update_nmb_infected_cellsiPfS_ .globl _Z25update_nmb_infected_cellsiPfS_ .p2align 8 .type _Z25update_nmb_infected_cellsiPfS_,@function _Z25update_nmb_infected_cellsiPfS_: ; @_Z25update_nmb_i...
45748a815d7d021be028e5d402819496a749e5e0
#include "arguments.hh" #include <algorithm> Arguments::Arguments(const std::vector<std::string>& args) : args_(args) {} Arguments::Arguments(int argc, char** argv) { for (int i = 0; i < argc; ++i) args_.push_back(argv[i]); } const std::vector<std::string>& Arguments::args_get() const { return args_; } bo...
.file "tmpxft_003a7738_00000000-6_arguments.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3668: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE3668: .size _ZL26__cuda...
code for sm_89
#include <hip/hip_runtime.h> #include "arguments.hh" #include <algorithm> Arguments::Arguments(const std::vector<std::string>& args) : args_(args) {} Arguments::Arguments(int argc, char** argv) { for (int i = 0; i < argc; ++i) args_.push_back(argv[i]); } const std::vector<std::string>& Arguments::args_get()...
.text .file "arguments.hip" .globl _ZN9ArgumentsC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE # -- Begin function _ZN9ArgumentsC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EE .p2align 1, 0x90 .type _ZN9ArgumentsC2ERKSt6vectorINSt7__cxx1112basic_stringIcSt11...
.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-...
4d221de1b020e6575ac4ab89104de28a0de622d4
#include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <cuda_runtime.h> #define WIDTH 1024 #define TILE_WIDTH 16 #define BLOCKSPERGRID WIDTH / TILE_WIDTH int N[WIDTH][WIDTH] = {0}; int T[WIDTH][WIDTH] = {0}; __global__ void transpose(int *Nd, int *Td); __device__ int GetElement(int *matrix, int row, in...
.file "tmpxft_0028abf6_00000000-6_transpose.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2033: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2033: .size _ZL26__cuda...
code for sm_89 Function : _Z9transposePiS_ .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 <sys/time.h> #include <hip/hip_runtime.h> #define WIDTH 1024 #define TILE_WIDTH 16 #define BLOCKSPERGRID WIDTH / TILE_WIDTH int N[WIDTH][WIDTH] = {0}; int T[WIDTH][WIDTH] = {0}; __global__ void transpose(int *Nd, int *Td); __device__ int GetElement(int *matrix, int row,...
.text .file "transpose.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function main .LCPI0_0: .quad 0x408f400000000000 # double 1000 .text .globl main .type main,@function main: # @main .cfi_startproc # %bb.0: push...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9transposePiS_ ; -- Begin function _Z9transposePiS_ .globl _Z9transposePiS_ .p2align 8 .type _Z9transposePiS_,@function _Z9transposePiS_: ; @_Z9transposePiS_ ; %bb.0: v_and_b32_e32 v1, 0x3ff, v0 v_bfe_u32 v0, v0, 10, 10 ...
ef57288bd4f714da7ddeb7a6b4b9acf62914007c
#include <iostream> #include <stdio.h> #include <math.h> __global__ void vectorAdd(int a) { }
.file "tmpxft_0033b209_00000000-6_cudatest.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3637: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_...
code for sm_89 Function : _Z9vectorAddi .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 */ /* 0x000fe40000000f00 */...
#include <hip/hip_runtime.h> #include <iostream> #include <stdio.h> #include <math.h> __global__ void vectorAdd(int a) { }
.text .file "cudatest.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__vectorAddi # -- Begin function _Z24__device_stub__vectorAddi .type _Z...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9vectorAddi ; -- Begin function _Z9vectorAddi .globl _Z9vectorAddi .p2align 8 .type _Z9vectorAddi,@function _Z9vectorAddi: ; @_Z9vectorAddi ; %bb.0: s_endpgm .section .rodata,"a",@progbits .p2align 6, 0x0 .amdhsa...
144c34de15c3db3f845758d96bd4add6f411c954
#include <iostream> #include <cuda_runtime.h> #include <device_launch_parameters.h> const size_t GRID_SIZE = 100; const size_t BLOCK_SIZE = 256; // kernel menambahkan vector __global__ void dotProduct( const float *cVectorA, const float *cVectorB, float *dotProductSebagian, const int cJumlahElemen) { __s...
.file "tmpxft_0039a05a_00000000-6_dotProduct.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89 Function : _Z10dotProductPKfS0_Pfi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <iostream> #include <hip/hip_runtime.h> const size_t GRID_SIZE = 100; const size_t BLOCK_SIZE = 256; // kernel menambahkan vector __global__ void dotProduct( const float *cVectorA, const float *cVectorB, float *dotProductSebagian, const int cJumlahElemen) { __shared__ float cache[ BLOCK_SIZE ];...
.text .file "dotProduct.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z25__device_stub__dotProductPKfS0_Pfi # -- Begin function _Z25__device_stub__dotProductP...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10dotProductPKfS0_Pfi ; -- Begin function _Z10dotProductPKfS0_Pfi .globl _Z10dotProductPKfS0_Pfi .p2align 8 .type _Z10dotProductPKfS0_Pfi,@function _Z10dotProductPKfS0_Pfi: ; @_Z10dotProductPKfS0_Pfi ; %bb.0: s_barrier buffer_gl0_inv ...
25a8a885db7d152d689b7847123111abc1f486d0
__global__ void convolution(float* input, int inputRows, int inputCols, int inputLd, float* kernel, int kernelRows, int kernelCols, int kernelLd, int rowStep, int colStep, float* output, int outputLd) { int row = (blockIdx.y * blockDim.y + threadIdx.y) * ro...
.file "tmpxft_0029a5d5_00000000-6_matrix.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnr...
code for sm_89 Function : _Z11convolutionPfiiiS_iiiiiS_i .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <hip/hip_runtime.h> __global__ void convolution(float* input, int inputRows, int inputCols, int inputLd, float* kernel, int kernelRows, int kernelCols, int kernelLd, int rowStep, int colStep, float* output, int outputLd) { int row = (blockIdx.y * ...
.text .file "matrix.hip" .globl _Z26__device_stub__convolutionPfiiiS_iiiiiS_i # -- Begin function _Z26__device_stub__convolutionPfiiiS_iiiiiS_i .type _Z26__device_stub__convolutionPfiiiS_iiiiiS_i,@function _Z26__device_stub__convolutionPfiiiS_iiiiiS_i: # @_Z26__device_stub__convolutionPfiiiS_iiiiiS_i .cfi_startpro...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11convolutionPfiiiS_iiiiiS_i ; -- Begin function _Z11convolutionPfiiiS_iiiiiS_i .globl _Z11convolutionPfiiiS_iiiiiS_i .p2align 8 .type _Z11convolutionPfiiiS_iiiiiS_i,@function _Z11convolutionPfiiiS_iiiiiS_i: ; @_Z11convolutionPfiiiS_iiiiiS_i ;...
323fa1098ba51c02d091265ef5220a5b7a15344e
// //#include "cuda_runtime.h" //#include "device_launch_parameters.h" //#include <stdlib.h> //#include <stdio.h> // //__global__ void Read_texture_obj_kernel(float *iptr, cudaTextureObject_t tex) { // int x = threadIdx.x + blockIdx.x * blockDim.x; // int y = threadIdx.y + blockIdx.y * blockDim.y; // int offset = x + y...
.file "tmpxft_0022c8da_00000000-6_TexUtils.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
#include <hip/hip_runtime.h> // //#include "cuda_runtime.h" //#include "device_launch_parameters.h" //#include <stdlib.h> //#include <stdio.h> // //__global__ void Read_texture_obj_kernel(float *iptr, cudaTextureObject_t tex) { // int x = threadIdx.x + blockIdx.x * blockDim.x; // int y = threadIdx.y + blockIdx.y * blo...
.text .file "TexUtils.hip" .type __hip_cuid_,@object # @__hip_cuid_ .bss .globl __hip_cuid_ __hip_cuid_: .byte 0 # 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-project roc-6.3.2 25012 e5bf7e55c91490b07c49d8960f...
.text .p2alignl 7, 3214868480 .fill 96, 4, 3214868480 .type __hip_cuid_,@object ; @__hip_cuid_ .section .bss,"aw",@nobits .globl __hip_cuid_ __hip_cuid_: .byte 0 ; 0x0 .size __hip_cuid_, 1 .ident "AMD clang version 18.0.0git (https://github.com/RadeonOpenCompute/llvm-...
5fab63a8bf9eece131227010625944ded5fcd986
__global__ void simple_copy(const double *a, double *b) { size_t i = threadIdx.x + blockDim.x * blockIdx.x; b[i] = a[i]; }
.file "tmpxft_0034787d_00000000-6_simple_copy.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cu...
code for sm_89 Function : _Z11simple_copyPKdPd .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 simple_copy(const double *a, double *b) { size_t i = threadIdx.x + blockDim.x * blockIdx.x; b[i] = a[i]; }
.text .file "simple_copy.hip" .globl _Z26__device_stub__simple_copyPKdPd # -- Begin function _Z26__device_stub__simple_copyPKdPd .type _Z26__device_stub__simple_copyPKdPd,@function _Z26__device_stub__simple_copyPKdPd: # @_Z26__device_stub__simple_copyPKdPd .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offse...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11simple_copyPKdPd ; -- Begin function _Z11simple_copyPKdPd .globl _Z11simple_copyPKdPd .p2align 8 .type _Z11simple_copyPKdPd,@function _Z11simple_copyPKdPd: ; @_Z11simple_copyPKdPd ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0...
40deed1c6ad45054992e93692177beef0e7bd4f6
#include <inttypes.h> #include <math.h> #include <stdlib.h> #include <stdio.h> //#include <time.h> #include <sys/time.h> #include <sys/types.h> #include <dirent.h> #include <unistd.h> #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX_STR_LEN 256 struct ponto_capturad...
.file "tmpxft_002657f9_00000000-6_MSM.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2048: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2048: .size _ZL26__cudaUnregi...
code for sm_89
#include <hip/hip_runtime.h> #include <inttypes.h> #include <math.h> #include <stdlib.h> #include <stdio.h> //#include <time.h> #include <sys/time.h> #include <sys/types.h> #include <dirent.h> #include <unistd.h> #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) #define MAX_STR_...
.text .file "MSM.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 .cfi_def_cfa_offset 32 pushq %r13 .cfi_def_cfa_of...
.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-...
15d2f99f3e29b1b2558dce099594e97239269090
/* matrixmul.cu * * Jonathan Lehman * February 22, 2012 */ #include <cuda.h> #include <stdio.h> #include <math.h> #include <sys/time.h> __global__ void mult( float*, float*, float*, int, int, int, int, int); void buildArrays( int, int ); void checkArgs(int, char**); void checkGPUCapabilities(int, int, int, int,...
.file "tmpxft_002a69e8_00000000-6_matrixmul.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2034: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2034: .size _ZL26__cuda...
code for sm_89 Function : _Z4multPfS_S_iiiii .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 */ ...
/* matrixmul.cu * * Jonathan Lehman * February 22, 2012 */ #include <hip/hip_runtime.h> #include <stdio.h> #include <math.h> #include <sys/time.h> __global__ void mult( float*, float*, float*, int, int, int, int, int); void buildArrays( int, int ); void checkArgs(int, char**); void checkGPUCapabilities(int, int...
.text .file "matrixmul.hip" .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 # -- Begin function main .LCPI0_0: .long 0x447a0000 # float 1000 .text .globl main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4multPfS_S_iiiii ; -- Begin function _Z4multPfS_S_iiiii .globl _Z4multPfS_S_iiiii .p2align 8 .type _Z4multPfS_S_iiiii,@function _Z4multPfS_S_iiiii: ; @_Z4multPfS_S_iiiii ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x18 s_waitcnt lg...
c63834013e8f0215ccbfc7c535aeaf5eb4399f1f
#include <type_traits> int main(int, char*[]) { return 0; }
.file "tmpxft_0032c220_00000000-6_main.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2011: .size _ZL26__cudaUnreg...
code for sm_89
#include <hip/hip_runtime.h> #include <type_traits> int main(int, char*[]) { return 0; }
.text .file "main.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: xorl %eax, %eax retq .Lfunc_end0: .size main, .Lfunc_end0-main .cfi_endproc # -- End functi...
.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-...
eaac8f90113e1f66f58292dd5b767581bf2d914e
#include <stdio.h> #include <stdlib.h> #include <cuda.h> __global__ void sumaDatos(int* in, int* out, int size) { int IDx=blockIdx.x*blockDim.x+threadIdx.x; if(IDx>size) return; out[IDx]=in[IDx]+in[IDx]; } int main(int argc, char **argv) { int datosCount=100000000; int* h_datos=(int*)malloc(datosCount*sizeo...
.file "tmpxft_00255cb5_00000000-6_fuente.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 : _Z9sumaDatosPiS_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 <stdio.h> #include <stdlib.h> #include <hip/hip_runtime.h> __global__ void sumaDatos(int* in, int* out, int size) { int IDx=blockIdx.x*blockDim.x+threadIdx.x; if(IDx>size) return; out[IDx]=in[IDx]+in[IDx]; } int main(int argc, char **argv) { int datosCount=100000000; int* h_datos=(int*)malloc(datos...
.text .file "fuente.hip" .globl _Z24__device_stub__sumaDatosPiS_i # -- Begin function _Z24__device_stub__sumaDatosPiS_i .type _Z24__device_stub__sumaDatosPiS_i,@function _Z24__device_stub__sumaDatosPiS_i: # @_Z24__device_stub__sumaDatosPiS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9sumaDatosPiS_i ; -- Begin function _Z9sumaDatosPiS_i .globl _Z9sumaDatosPiS_i .p2align 8 .type _Z9sumaDatosPiS_i,@function _Z9sumaDatosPiS_i: ; @_Z9sumaDatosPiS_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_load_...
e5695f06f82f82c59eb72c5b72326fe22d30647c
#include<iostream> #include<ctime> using namespace std; #define R 32 #define C 32 //#define BY_R __global__ void by_row(int* data) { __shared__ int cache[R][C]; unsigned int idx = threadIdx.y * blockDim.x + threadIdx.x; cache[threadIdx.y][threadIdx.x] = idx; __syncthreads(); data[idx] = cache[threadIdx.y][th...
.file "tmpxft_00375f48_00000000-6_square_load_write.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@P...
code for sm_89 Function : _Z9by_columnPi .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<ctime> using namespace std; #define R 32 #define C 32 //#define BY_R __global__ void by_row(int* data) { __shared__ int cache[R][C]; unsigned int idx = threadIdx.y * blockDim.x + threadIdx.x; cache[threadIdx.y][threadIdx.x] = idx; __syncthreads(); dat...
.text .file "square_load_write.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z21__device_stub__by_rowPi # -- Begin function _Z21__device_stub__by_rowPi ....
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6by_rowPi ; -- Begin function _Z6by_rowPi .globl _Z6by_rowPi .p2align 8 .type _Z6by_rowPi,@function _Z6by_rowPi: ; @_Z6by_rowPi ; %bb.0: s_load_b32 s2, s[0:1], 0x14 v_and_b32_e32 v1, 0x3ff, v0 v_bfe_u32 v0, v0...
eb09a94af4dc1fb99f8cbdb012b94635c4c6f464
#include <iostream> #include <math.h> #include <ctime> #include <cmath> #include <stdlib.h> #include <fstream> #include <sstream> #define PI 3.14159265358979323846 __device__ double densityW(double Xold, double Xnew, double sigma, double r, double delta, double delta_t){ double f=0, x=0; //x=(1/(sigma*sqrt(delta_t)...
.file "tmpxft_003a6e25_00000000-6_cuda_meshweights.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3830: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PL...
code for sm_89 Function : _Z17meshweightsKernelPddiS_S_ddS_iS_S_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <iostream> #include <math.h> #include <ctime> #include <cmath> #include <stdlib.h> #include <fstream> #include <sstream> #define PI 3.14159265358979323846 __device__ double densityW(double Xold, double Xnew, double sigma, double r, double delta, double delta_t){ double f=0, x=...
.text .file "cuda_meshweights.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z27__device_stub__valuesKernelPddiS_S_ddS_i # -- Begin function _Z27__device_stub_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12valuesKernelPddiS_S_ddS_i ; -- Begin function _Z12valuesKernelPddiS_S_ddS_i .globl _Z12valuesKernelPddiS_S_ddS_i .p2align 8 .type _Z12valuesKernelPddiS_S_ddS_i,@function _Z12valuesKernelPddiS_S_ddS_i: ; @_Z12valuesKernelPddiS_S_ddS_i ; %bb....
76371a5572923bc3679283e7cf664634ad23b6c2
#include "includes.h" __global__ void calculateCircuitGraphVertexData( unsigned int * D,unsigned int * C,unsigned int ecount){ unsigned int tid=(blockDim.x*blockDim.y * gridDim.x*blockIdx.y) + (blockDim.x*blockDim.y*blockIdx.x)+(blockDim.x*threadIdx.y)+threadIdx.x; if( tid <ecount) { unsigned int c=D[tid]; atomicExch(...
.file "tmpxft_002275cf_00000000-6_calculateCircuitGraphVertexData.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 .LFE20...
code for sm_89 Function : _Z31calculateCircuitGraphVertexDataPjS_j .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 calculateCircuitGraphVertexData( unsigned int * D,unsigned int * C,unsigned int ecount){ unsigned int tid=(blockDim.x*blockDim.y * gridDim.x*blockIdx.y) + (blockDim.x*blockDim.y*blockIdx.x)+(blockDim.x*threadIdx.y)+threadIdx.x; if( tid <ecount) { unsi...
.text .file "calculateCircuitGraphVertexData.hip" .globl _Z46__device_stub__calculateCircuitGraphVertexDataPjS_j # -- Begin function _Z46__device_stub__calculateCircuitGraphVertexDataPjS_j .type _Z46__device_stub__calculateCircuitGraphVertexDataPjS_j,@function _Z46__device_stub__calculateCircuitGraphVertexDataPjS_j...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z31calculateCircuitGraphVertexDataPjS_j ; -- Begin function _Z31calculateCircuitGraphVertexDataPjS_j .globl _Z31calculateCircuitGraphVertexDataPjS_j .p2align 8 .type _Z31calculateCircuitGraphVertexDataPjS_j,@function _Z31calculateCircuitGraphVertexData...
ed392f72ac0c3cb818181d26f1a8b9d5640314bf
#include "includes.h" __global__ void ModuloKernel(float* input, int divisor, float* output, int size) { int id = blockDim.x * blockIdx.y * gridDim.x + blockDim.x * blockIdx.x + threadIdx.x; if(id < size) { output[id] = (float) (((int)input[id]) % divisor) ; } }
.file "tmpxft_0037856d_00000000-6_ModuloKernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89 Function : _Z12ModuloKernelPfiS_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 "includes.h" __global__ void ModuloKernel(float* input, int divisor, float* output, int size) { int id = blockDim.x * blockIdx.y * gridDim.x + blockDim.x * blockIdx.x + threadIdx.x; if(id < size) { output[id] = (float) (((int)input[id]) % divisor) ; } }
.text .file "ModuloKernel.hip" .globl _Z27__device_stub__ModuloKernelPfiS_i # -- Begin function _Z27__device_stub__ModuloKernelPfiS_i .type _Z27__device_stub__ModuloKernelPfiS_i,@function _Z27__device_stub__ModuloKernelPfiS_i: # @_Z27__device_stub__ModuloKernelPfiS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12ModuloKernelPfiS_i ; -- Begin function _Z12ModuloKernelPfiS_i .globl _Z12ModuloKernelPfiS_i .p2align 8 .type _Z12ModuloKernelPfiS_i,@function _Z12ModuloKernelPfiS_i: ; @_Z12ModuloKernelPfiS_i ; %bb.0: s_clause 0x2 s_load_b32 s2, s...
76796c88c0407d76de4aab1e9418ba75df551a01
/* * @Author: grantmcgovern * @Date: 2015-09-11 12:19:51 * @Last Modified by: grantmcgovern * @Last Modified time: 2015-09-13 15:42:09 */ #include <stdio.h> #include <stdlib.h> #include <string.h> /* * File_Packet * * Contains a small data packet of * the file info (data + size) to * help with dynamic allocati...
.file "tmpxft_002b839b_00000000-6_DecodeEmail2FULP.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2034: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2034: .size _ZL2...
code for sm_89 Function : _Z13caesar_cipherPcS_ .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 */ ...
/* * @Author: grantmcgovern * @Date: 2015-09-11 12:19:51 * @Last Modified by: grantmcgovern * @Last Modified time: 2015-09-13 15:42:09 */ #include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* * File_Packet * * Contains a small data packet of * the file info (data + size) to...
.text .file "DecodeEmail2FULP.hip" .globl _Z19get_filename_lengthPPc # -- Begin function _Z19get_filename_lengthPPc .type _Z19get_filename_lengthPPc,@function _Z19get_filename_lengthPPc: # @_Z19get_filename_lengthPPc .cfi_startproc # %bb.0: movq 8(%rdi), %rcx movl $-1, %eax .LBB0_1: ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13caesar_cipherPcS_ ; -- Begin function _Z13caesar_cipherPcS_ .globl _Z13caesar_cipherPcS_ .p2align 8 .type _Z13caesar_cipherPcS_,@function _Z13caesar_cipherPcS_: ; @_Z13caesar_cipherPcS_ ; %bb.0: s_load_b128 s[0:3], s[0:1], 0x0 s...
9ecc8198703053f4629736302d2959f303b21f7b
#include <stdio.h> #include <stdlib.h> #include <math.h> #include "cuda_runtime.h" #include "device_launch_parameters.h" #define BLOCK_SIZE 1024 // обработка ошибок #define CSC(call) \ do { \ cudaError_t res = call; ...
.file "tmpxft_0032c616_00000000-6_lab5.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 : _Z20bitonic_half_cleanerPiiii .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 <math.h> #include "hip/hip_runtime.h" #define BLOCK_SIZE 1024 // обработка ошибок #define CSC(call) \ do { \ hipError_t res = call; \ if (res != hipSuccess) ...
.text .file "lab5.hip" .globl _Z28__device_stub__bitonic_mergePiiii # -- Begin function _Z28__device_stub__bitonic_mergePiiii .type _Z28__device_stub__bitonic_mergePiiii,@function _Z28__device_stub__bitonic_mergePiiii: # @_Z28__device_stub__bitonic_mergePiiii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13bitonic_mergePiiii ; -- Begin function _Z13bitonic_mergePiiii .globl _Z13bitonic_mergePiiii .p2align 8 .type _Z13bitonic_mergePiiii,@function _Z13bitonic_mergePiiii: ; @_Z13bitonic_mergePiiii ; %bb.0: s_load_b128 s[4:7], s[0:1], 0x...
a08527da6cc3851735b952b8d13c6f6a6ea42b67
#include "includes.h" __global__ void useNoTexture(float* pin, float* pout, int len) { unsigned int i = blockIdx.x * blockDim.x + threadIdx.x; unsigned int j = blockIdx.y * blockDim.y + threadIdx.y; unsigned int k = blockIdx.z * blockDim.z + threadIdx.z; auto a = pin[0 + len * (i + c_size.x * (j + k * c_size.y))]; aut...
.file "tmpxft_0034bf78_00000000-6_useNoTexture.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__c...
code for sm_89 Function : _Z12useNoTexturePfS_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 useNoTexture(float* pin, float* pout, int len) { unsigned int i = blockIdx.x * blockDim.x + threadIdx.x; unsigned int j = blockIdx.y * blockDim.y + threadIdx.y; unsigned int k = blockIdx.z * blockDim.z + threadIdx.z; auto a = pin[0 + len * (i + c_size...
.text .file "useNoTexture.hip" .globl _Z27__device_stub__useNoTexturePfS_i # -- Begin function _Z27__device_stub__useNoTexturePfS_i .type _Z27__device_stub__useNoTexturePfS_i,@function _Z27__device_stub__useNoTexturePfS_i: # @_Z27__device_stub__useNoTexturePfS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12useNoTexturePfS_i ; -- Begin function _Z12useNoTexturePfS_i .globl _Z12useNoTexturePfS_i .p2align 8 .type _Z12useNoTexturePfS_i,@function _Z12useNoTexturePfS_i: ; @_Z12useNoTexturePfS_i ; %bb.0: s_load_b64 s[2:3], s[0:1], 0x24 s...
53baa3061466c6c239d943b8faf90df4e004b200
#include "includes.h" __global__ void copy( float *v4, const float *v3, const int n ) { for(int i=blockIdx.x*blockDim.x+threadIdx.x;i<n;i+=blockDim.x*gridDim.x) { v4[i*8+0] = v3[i*6+0]; v4[i*8+1] = v3[i*6+1]; v4[i*8+2] = v3[i*6+2]; v4[i*8+4] = v3[i*6+3]; v4[i*8+5] = v3[i*6+4]; v4[i*8+6] = v3[i*6+5]; } }
.file "tmpxft_002887fa_00000000-6_copy.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z4copyPfPKfi .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 copy( float *v4, const float *v3, const int n ) { for(int i=blockIdx.x*blockDim.x+threadIdx.x;i<n;i+=blockDim.x*gridDim.x) { v4[i*8+0] = v3[i*6+0]; v4[i*8+1] = v3[i*6+1]; v4[i*8+2] = v3[i*6+2]; v4[i*8+4] = v3[i*6+3]; v4[i*8+5] = v3[i*6+4]; v4[i*8+6] = ...
.text .file "copy.hip" .globl _Z19__device_stub__copyPfPKfi # -- Begin function _Z19__device_stub__copyPfPKfi .type _Z19__device_stub__copyPfPKfi,@function _Z19__device_stub__copyPfPKfi: # @_Z19__device_stub__copyPfPKfi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z4copyPfPKfi ; -- Begin function _Z4copyPfPKfi .globl _Z4copyPfPKfi .p2align 8 .type _Z4copyPfPKfi,@function _Z4copyPfPKfi: ; @_Z4copyPfPKfi ; %bb.0: s_clause 0x1 s_load_b32 s5, s[0:1], 0x24 s_load_b32 s4, s[0:1], ...
6202e8423a37fbbc98e8351854737ec7b6dc07ae
#include "includes.h" __global__ void FillAdjacencyMatrix(float* adj_mat , float* maskBuffer , int size , int cols , int rows ,int Nsegs){ int idx = blockDim.x*blockIdx.y*gridDim.x + blockDim.x*blockIdx.x + threadIdx.x; int icol = idx % cols; int irow = idx / cols; int seg_id1=-1; if (idx<size){ if (icol<cols-2 && irow...
.file "tmpxft_0020f064_00000000-6_FillAdjacencyMatrix.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 : _Z19FillAdjacencyMatrixPfS_iiii .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 FillAdjacencyMatrix(float* adj_mat , float* maskBuffer , int size , int cols , int rows ,int Nsegs){ int idx = blockDim.x*blockIdx.y*gridDim.x + blockDim.x*blockIdx.x + threadIdx.x; int icol = idx % cols; int irow = idx / cols; int seg_id1=-1; if (idx<...
.text .file "FillAdjacencyMatrix.hip" .globl _Z34__device_stub__FillAdjacencyMatrixPfS_iiii # -- Begin function _Z34__device_stub__FillAdjacencyMatrixPfS_iiii .type _Z34__device_stub__FillAdjacencyMatrixPfS_iiii,@function _Z34__device_stub__FillAdjacencyMatrixPfS_iiii: # @_Z34__device_stub__FillAdjacencyMatrixPfS_i...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z19FillAdjacencyMatrixPfS_iiii ; -- Begin function _Z19FillAdjacencyMatrixPfS_iiii .globl _Z19FillAdjacencyMatrixPfS_iiii .p2align 8 .type _Z19FillAdjacencyMatrixPfS_iiii,@function _Z19FillAdjacencyMatrixPfS_iiii: ; @_Z19FillAdjacencyMatrixPfS_i...
1d0c855300b043e23bea04bf22e4efe1e754dabf
extern "C" { __device__ inline int threadIdx_x() { return threadIdx.x; } __device__ inline int threadIdx_y() { return threadIdx.y; } __device__ inline int threadIdx_z() { return threadIdx.z; } __device__ inline int blockIdx_x() { return blockIdx.x; } __device__ inline int blockIdx_y() { return blockIdx.y; } __device__ ...
.file "tmpxft_0022263f_00000000-6_jacobi.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2022: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2022: .size _ZL26__cudaUnr...
code for sm_89 Function : lambda_35652 .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" { __device__ inline int threadIdx_x() { return threadIdx.x; } __device__ inline int threadIdx_y() { return threadIdx.y; } __device__ inline int threadIdx_z() { return threadIdx.z; } __device__ inline int blockIdx_x() { return blockIdx.x; } __device__ inline int blockIdx_y() { re...
.text .file "jacobi.hip" .globl __device_stub__lambda_35652 # -- Begin function __device_stub__lambda_35652 .type __device_stub__lambda_35652,@function __device_stub__lambda_35652: # @__device_stub__lambda_35652 .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 .cfi_def_cfa_of...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected lambda_35652 ; -- Begin function lambda_35652 .globl lambda_35652 .p2align 8 .type lambda_35652,@function lambda_35652: ; @lambda_35652 ; %bb.0: s_load_b32 s2, s[0:1], 0x1c v_bfe_u32 v1, v0, 10, 10 v_and_b32_e32 v...
c102fad2cc2bc77ed8f722cdc67aec300046034c
#include <iostream> #include <cuda_runtime.h> #define CHECK(call) { \ const cudaError_t error = call; \ if (error != cudaSuccess) { \ std::cout << "Error: " << __FILE__ << ":" \ << __LINE__ << std::endl ...
.file "tmpxft_0020aa74_00000000-6_main.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3638: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endp...
code for sm_89 Function : _Z9vectorAddPKfS0_Pfi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <iostream> #include <hip/hip_runtime.h> #define CHECK(call) { \ const hipError_t error = call; \ if (error != hipSuccess) { \ std::cout << "Error: " << __FILE__ << ":" \ << __LINE__ << std::endl ...
.text .file "main.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z24__device_stub__vectorAddPKfS0_Pfi # -- Begin function _Z24__device_stub__vectorAddPKfS0_Pfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9vectorAddPKfS0_Pfi ; -- Begin function _Z9vectorAddPKfS0_Pfi .globl _Z9vectorAddPKfS0_Pfi .p2align 8 .type _Z9vectorAddPKfS0_Pfi,@function _Z9vectorAddPKfS0_Pfi: ; @_Z9vectorAddPKfS0_Pfi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1...
35c2e1f7faf5026feca2a0c2b1fc8e22825de8a1
/* game.cu * Jonathan Lehman * April 17, 2012 * * Compile with: nvcc -o game game.cu * */ #include <cuda.h> #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <strings.h> #include <math.h> #include <sys/time.h> #define DEBUG 0 /* set DEBUG to flag to 1 for debugging, set flag to 0 for opti...
.file "tmpxft_002d76f3_00000000-6_game.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2045: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2045: .size _ZL26__cudaUnreg...
code for sm_89 Function : _Z8generate4GameP4Move .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 */ ...
/* game.cu * Jonathan Lehman * April 17, 2012 * * Compile with: nvcc -o game game.cu * */ #include <hip/hip_runtime.h> #include <stdio.h> #include <assert.h> #include <stdlib.h> #include <strings.h> #include <math.h> #include <sys/time.h> #define DEBUG 0 /* set DEBUG to flag to 1 for debugging, set flag to...
.text .file "game.hip" .globl main # -- Begin function main .type main,@function main: # @main .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_def_cfa_offset 24 pushq %r14 .cfi_def_cfa_offset 32 pushq %r13 .cfi_def_cfa_o...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8generate4GameP4Move ; -- Begin function _Z8generate4GameP4Move .globl _Z8generate4GameP4Move .p2align 8 .type _Z8generate4GameP4Move,@function _Z8generate4GameP4Move: ; @_Z8generate4GameP4Move ; %bb.0: s_load_b64 s[0:1], s[0:1], 0xb...
fa4a2b70805577c5d8b793dcdc00394001131110
#include <cuda_runtime_api.h> #include <stdio.h> #include <math.h> #include <iostream> __device__ float distance(float2 x1, float2 x2){ return sqrt(pow(x1.x - x2.x,2) + pow(x1.y - x2.y,2)); } __global__ void distance_kernel(float2 *data_in, float *data_out, int n){ const int i = blockIdx.x * blockDim.x + thre...
.file "tmpxft_003762ca_00000000-6_hello-cuda.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 .cf...
code for sm_89 Function : _Z15distance_kernelP6float2Pfi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <hip/hip_runtime_api.h> #include <stdio.h> #include <math.h> #include <iostream> __device__ float distance(float2 x1, float2 x2){ return sqrt(pow(x1.x - x2.x,2) + pow(x1.y - x2.y,2)); } __global__ void distance_kernel(float2 *data_in, float *data_out, int n){ const int i...
.text .file "hello-cuda.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z30__device_stub__distance_kernelP15HIP_vector_typeIfLj2EEPfi # -- Begin function _Z30__...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z15distance_kernelP15HIP_vector_typeIfLj2EEPfi ; -- Begin function _Z15distance_kernelP15HIP_vector_typeIfLj2EEPfi .globl _Z15distance_kernelP15HIP_vector_typeIfLj2EEPfi .p2align 8 .type _Z15distance_kernelP15HIP_vector_typeIfLj2EEPfi,@function _Z15dis...
002c60ad23cd3e75e586836e6cedafd3ca5aefe4
#include <cuda_runtime.h> #include <cstddef> #include <utility> #include <string> #include <system_error> #if defined(__CUDACC__) #define DEVICE __device__ #define HOST __host__ #else #define DEVICE #define HOST #endif #define DEVICE_HOST DEVICE HOST /*! \brief std::error_code category for cudaError */ class cuda_er...
.file "tmpxft_0026f5b3_00000000-6_nbody.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3843: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_end...
code for sm_89 Function : _Z16compute_energiesmP3vecIdLm3EES1_S1_PS_IdLm2EE .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 <cstddef> #include <utility> #include <string> #include <system_error> #if defined(__HIPCC__) #define DEVICE __device__ #define HOST __host__ #else #define DEVICE #define HOST #endif #define DEVICE_HOST DEVICE HOST /*! \brief std::error_code category for cudaError */ class cuda_...
.text .file "nbody.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z38__device_stub__calculate_accelerationsmP3vecIdLm3EES1_ # -- Begin function _Z38__device_st...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z23calculate_accelerationsmP3vecIdLm3EES1_ ; -- Begin function _Z23calculate_accelerationsmP3vecIdLm3EES1_ .globl _Z23calculate_accelerationsmP3vecIdLm3EES1_ .p2align 8 .type _Z23calculate_accelerationsmP3vecIdLm3EES1_,@function _Z23calculate_accelerat...
9b50bc74b3c49e5df639a5d19dae4e3475b851d5
#include "includes.h" __global__ void reduction_neighbored_pairs_improved_1( int * int_array, int * temp_array, int size) { int tid = threadIdx.x; int gid = blockDim.x * blockIdx.x + threadIdx.x; //local data block pointer int * i_data = int_array + blockDim.x * blockIdx.x; if (gid > size) return; for (int offset = ...
.file "tmpxft_002b3e51_00000000-6_reduction_neighbored_pairs_improved_1.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 ...
code for sm_89 Function : _Z37reduction_neighbored_pairs_improved_1PiS_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 "includes.h" __global__ void reduction_neighbored_pairs_improved_1( int * int_array, int * temp_array, int size) { int tid = threadIdx.x; int gid = blockDim.x * blockIdx.x + threadIdx.x; //local data block pointer int * i_data = int_array + blockDim.x * blockIdx.x; if (gid > siz...
.text .file "reduction_neighbored_pairs_improved_1.hip" .globl _Z52__device_stub__reduction_neighbored_pairs_improved_1PiS_i # -- Begin function _Z52__device_stub__reduction_neighbored_pairs_improved_1PiS_i .type _Z52__device_stub__reduction_neighbored_pairs_improved_1PiS_i,@function _Z52__device_stub__reduction_ne...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z37reduction_neighbored_pairs_improved_1PiS_i ; -- Begin function _Z37reduction_neighbored_pairs_improved_1PiS_i .globl _Z37reduction_neighbored_pairs_improved_1PiS_i .p2align 8 .type _Z37reduction_neighbored_pairs_improved_1PiS_i,@function _Z37reducti...
f1181e5fb3a81f4547d3c661f2ff240809db6b73
/* @EECE528 Project - BDD Parallelization @Authors: Yu Lei, Haotian Zhang @Date: 2017/12/3 */ #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #define MAXNODENUM 160000 #define MAXLINE 256 /* Maximum length of each input line read. */ typedef struct bddNode_ { float index; int value; st...
.file "tmpxft_002571b0_00000000-6_Haotian_base.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2039: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2039: .size _ZL26__c...
code for sm_89
/* @EECE528 Project - BDD Parallelization @Authors: Yu Lei, Haotian Zhang @Date: 2017/12/3 */ #include <hip/hip_runtime.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #define MAXNODENUM 160000 #define MAXLINE 256 /* Maximum length of each input line read. */ typedef struct bddNode_ {...
.text .file "Haotian_base.hip" .globl _Z11bddTreeInitP8bddTree_ # -- Begin function _Z11bddTreeInitP8bddTree_ .type _Z11bddTreeInitP8bddTree_,@function _Z11bddTreeInitP8bddTree_: # @_Z11bddTreeInitP8bddTree_ .cfi_startproc # %bb.0: pushq %r14 .cfi_def_cfa_offset 16 pushq %rbx .cfi_def_cfa_of...
.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-...
05f26c5665e6c48eb48dc07663ea6068d3c26e6f
#include "cuda_runtime.h" #include "device_launch_parameters.h" #include <vector> #include <stdio.h> #include <ctime> #include <fstream> using namespace std; vector<char> add_data(vector<char> data); void copy_data_to_gpu(char* data, int size); int main() { int size = 0; vector<char> data; for (int i = 1; i <= 5...
.file "tmpxft_002989d8_00000000-6_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4153: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE4153: .size _ZL26__cudaUnr...
code for sm_89
#include "hip/hip_runtime.h" #include <vector> #include <stdio.h> #include <ctime> #include <fstream> using namespace std; vector<char> add_data(vector<char> data); void copy_data_to_gpu(char* data, int size); int main() { int size = 0; vector<char> data; for (int i = 1; i <= 50; i++) { data = add_data(data)...
.text .file "kernel.hip" .globl main # -- Begin function main .type main,@function main: # @main .Lfunc_begin0: .cfi_startproc .cfi_personality 3, __gxx_personality_v0 .cfi_lsda 3, .Lexception0 # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 ...
.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-...
1f410564d1cfa19854d456dcc32b91f00b10d42d
#include "includes.h" #ifndef _KERNEL_H #define _KERNEL_H typedef struct Node { int starting; int no_of_edges; }Node; #endif __global__ void test1(bool* d_graph_visited, int no_of_nodes) { int tid = blockIdx.x * blockDim.x + threadIdx.x; if (tid < no_of_nodes) { d_graph_visited[tid] = true; } }
.file "tmpxft_00341845_00000000-6_test1.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cudaUnre...
code for sm_89 Function : _Z5test1Pbi .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" #ifndef _KERNEL_H #define _KERNEL_H typedef struct Node { int starting; int no_of_edges; }Node; #endif __global__ void test1(bool* d_graph_visited, int no_of_nodes) { int tid = blockIdx.x * blockDim.x + threadIdx.x; if (tid < no_of_nodes) { d_graph_visited[tid] = t...
.text .file "test1.hip" .globl _Z20__device_stub__test1Pbi # -- Begin function _Z20__device_stub__test1Pbi .type _Z20__device_stub__test1Pbi,@function _Z20__device_stub__test1Pbi: # @_Z20__device_stub__test1Pbi .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 _Z5test1Pbi ; -- Begin function _Z5test1Pbi .globl _Z5test1Pbi .p2align 8 .type _Z5test1Pbi,@function _Z5test1Pbi: ; @_Z5test1Pbi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x1c s_load_b32 s3, s[0:1], 0x8 s_w...
bb9a9e4ee3dafe63e970d1528b4963db9c40ce81
/* Transformer function helper function. Written by tomztyang, 2021/08/23 */ #include <math.h> #include <stdio.h> #define THREADS_PER_BLOCK 256 #define DIVUP(m,n) ((m) / (n) + ((m) % (n) > 0)) // #define DEBUG __global__ void rpe_q_forward( int b, int total_query_num, int local_size, int nhead, int hdim, int l...
.file "tmpxft_002478d1_00000000-6_rpe_q_kernel.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2031: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2031: .size _ZL26__c...
code for sm_89 Function : _Z14rpe_q_backwardiiiiiiPKiPKfS2_S2_PfS3_S3_ .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 */ ...
/* Transformer function helper function. Written by tomztyang, 2021/08/23 */ #include <hip/hip_runtime.h> #include <math.h> #include <stdio.h> #define THREADS_PER_BLOCK 256 #define DIVUP(m,n) ((m) / (n) + ((m) % (n) > 0)) // #define DEBUG __global__ void rpe_q_forward( int b, int total_query_num, int local_si...
.text .file "rpe_q_kernel.hip" .globl _Z28__device_stub__rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf # -- Begin function _Z28__device_stub__rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf .type _Z28__device_stub__rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf,@function _Z28__device_stub__rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf: # @_Z28__device_stub__rpe_q_f...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf ; -- Begin function _Z13rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf .globl _Z13rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf .p2align 8 .type _Z13rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf,@function _Z13rpe_q_forwardiiiiiiPKiPKfS2_S2_Pf: ; @_Z13...
9dcff7dff3a09f267d177fe41e8c31eb0e098fb8
#include "includes.h" __global__ void g_FullConnectDropout(float * outputs, float * drop, int len) { for(int i = 0; i < len; i += blockDim.x * gridDim.x) { int id = i + blockIdx.x * blockDim.x + threadIdx.x; if(id < len) { outputs[id] = outputs[id] * drop[id]; } } }
.file "tmpxft_00273816_00000000-6_g_FullConnectDropout.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 : _Z20g_FullConnectDropoutPfS_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 g_FullConnectDropout(float * outputs, float * drop, int len) { for(int i = 0; i < len; i += blockDim.x * gridDim.x) { int id = i + blockIdx.x * blockDim.x + threadIdx.x; if(id < len) { outputs[id] = outputs[id] * drop[id]; } } }
.text .file "g_FullConnectDropout.hip" .globl _Z35__device_stub__g_FullConnectDropoutPfS_i # -- Begin function _Z35__device_stub__g_FullConnectDropoutPfS_i .type _Z35__device_stub__g_FullConnectDropoutPfS_i,@function _Z35__device_stub__g_FullConnectDropoutPfS_i: # @_Z35__device_stub__g_FullConnectDropoutPfS_i .cfi...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z20g_FullConnectDropoutPfS_i ; -- Begin function _Z20g_FullConnectDropoutPfS_i .globl _Z20g_FullConnectDropoutPfS_i .p2align 8 .type _Z20g_FullConnectDropoutPfS_i,@function _Z20g_FullConnectDropoutPfS_i: ; @_Z20g_FullConnectDropoutPfS_i ; %bb....
a64cacea8ea97a5489110a1d92a3b8f9552fcdb0
#include <stdio.h> #define N 2250 #define T 512 __global__ void vecReverse(int *a, int *b){ int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < N){ b[i] = a[N - i - 1]; } } int main(int argc, char *argv[]){ int size = N * sizeof(int); int a[N], b[N], *devA, *devB; int blocks; ...
.file "tmpxft_0036dbd3_00000000-6_Q2.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 : _Z10vecReversePiS_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <hip/hip_runtime.h> #include <stdio.h> #define N 2250 #define T 512 __global__ void vecReverse(int *a, int *b){ int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < N){ b[i] = a[N - i - 1]; } } int main(int argc, char *argv[]){ int size = N * sizeof(int); int a[N], b[N], *devA...
.text .file "Q2.hip" .globl _Z25__device_stub__vecReversePiS_ # -- Begin function _Z25__device_stub__vecReversePiS_ .type _Z25__device_stub__vecReversePiS_,@function _Z25__device_stub__vecReversePiS_: # @_Z25__device_stub__vecReversePiS_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10vecReversePiS_ ; -- Begin function _Z10vecReversePiS_ .globl _Z10vecReversePiS_ .p2align 8 .type _Z10vecReversePiS_,@function _Z10vecReversePiS_: ; @_Z10vecReversePiS_ ; %bb.0: s_load_b32 s2, s[0:1], 0x1c s_waitcnt lgkmcnt...
6854773382e703e18c0947a6e48d1382990d9478
#include "cuda_runtime.h" #include <stdio.h> #include <memory.h> #define N 33 * 1024 #define threadsPerBlock 256 #define blocksPerGrid (N + threadsPerBlock - 1) / threadsPerBlock #define RADIUS 2 // Signal/image element type typedef int element; // 1D MEDIAN FILTER implementation // signal - input signal // ...
.file "tmpxft_002445b5_00000000-6_kernel.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__cudaUnr...
code for sm_89 Function : _Z13_medianfilterPKiPi .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 <memory.h> #define N 33 * 1024 #define threadsPerBlock 256 #define blocksPerGrid (N + threadsPerBlock - 1) / threadsPerBlock #define RADIUS 2 // Signal/image element type typedef int element; // 1D MEDIAN FILTER implementation // signal - input signal // ...
.text .file "kernel.hip" .globl _Z28__device_stub___medianfilterPKiPi # -- Begin function _Z28__device_stub___medianfilterPKiPi .type _Z28__device_stub___medianfilterPKiPi,@function _Z28__device_stub___medianfilterPKiPi: # @_Z28__device_stub___medianfilterPKiPi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_of...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13_medianfilterPKiPi ; -- Begin function _Z13_medianfilterPKiPi .globl _Z13_medianfilterPKiPi .p2align 8 .type _Z13_medianfilterPKiPi,@function _Z13_medianfilterPKiPi: ; @_Z13_medianfilterPKiPi ; %bb.0: s_clause 0x1 s_load_b32 s2, s...
2af8d9572da95a6f611d0857982a657cbc7e6cd4
#include "includes.h" __global__ void BpropH(const float* layer1, float* dlayer1, const float* synH, float* dsynH, const float alpha, const int offset) { int i = blockDim.x*blockIdx.x + threadIdx.x; //256 int j = blockDim.y*blockIdx.y + threadIdx.y; //256 atomicAdd(&dsynH[i*256 + j] , dlayer1[offset*256 + j] * layer1[...
.file "tmpxft_002b7be3_00000000-6_BpropH.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 : _Z6BpropHPKfPfS0_S1_fi .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 BpropH(const float* layer1, float* dlayer1, const float* synH, float* dsynH, const float alpha, const int offset) { int i = blockDim.x*blockIdx.x + threadIdx.x; //256 int j = blockDim.y*blockIdx.y + threadIdx.y; //256 atomicAdd(&dsynH[i*256 + j] , dla...
.text .file "BpropH.hip" .globl _Z21__device_stub__BpropHPKfPfS0_S1_fi # -- Begin function _Z21__device_stub__BpropHPKfPfS0_S1_fi .type _Z21__device_stub__BpropHPKfPfS0_S1_fi,@function _Z21__device_stub__BpropHPKfPfS0_S1_fi: # @_Z21__device_stub__BpropHPKfPfS0_S1_fi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6BpropHPKfPfS0_S1_fi ; -- Begin function _Z6BpropHPKfPfS0_S1_fi .globl _Z6BpropHPKfPfS0_S1_fi .p2align 8 .type _Z6BpropHPKfPfS0_S1_fi,@function _Z6BpropHPKfPfS0_S1_fi: ; @_Z6BpropHPKfPfS0_S1_fi ; %bb.0: s_clause 0x1 s_load_b32 s10, ...
798dd5b57ad536c2f8b698b593eccd9e8677d03f
#include <iostream> #include <cuda.h> #include <chrono> #define ITER 200 void checkCudaError(cudaError_t msg, int x) { if (msg != cudaSuccess) { fprintf(stderr, "line: %d %s\n", x, cudaGetErrorString(msg)); exit(1); } return; } int main() { float *s, *dev_s; int i, j; std::chrono::time_point<std:...
.file "tmpxft_002de1b0_00000000-6_mem_cuda.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3744: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_...
code for sm_89
#include <iostream> #include <hip/hip_runtime.h> #include <chrono> #define ITER 200 void checkCudaError(hipError_t msg, int x) { if (msg != hipSuccess) { fprintf(stderr, "line: %d %s\n", x, hipGetErrorString(msg)); exit(1); } return; } int main() { float *s, *dev_s; int i, j; std::chrono::time_po...
.text .file "mem_cuda.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z14checkCudaError10hipError_ti # -- Begin function _Z14checkCudaError10hipError_ti .type ...
.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-...
75f13b783f7ff2f6954d7568e2f237b263560e7a
// Includes #include "cuda_runtime.h" #include "device_launch_parameters.h" #include <stdlib.h> #include <stdio.h> #include <iostream> #include <iomanip> #include <fstream> #include <ctime> // Definitions #define M_PI 3.14276 #define c 299792458 #define mu0 M_PI*4e-7 #define eta0 c*mu0 // CPU function for source ca...
.file "tmpxft_0030d9ce_00000000-6_kernel-opt.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB4011: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89
// Includes #include "hip/hip_runtime.h" #include <stdlib.h> #include <stdio.h> #include <iostream> #include <iomanip> #include <fstream> #include <ctime> // Definitions #define M_PI 3.14276 #define c 299792458 #define mu0 M_PI*4e-7 #define eta0 c*mu0 // CPU function for source calculation void stageSource(double*...
.text .file "kernel-opt.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z11stageSourcePdS_S_S_iidi # -- Begin function _Z11stageSourcePdS_S_S_iidi .type _Z...
.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-...
202f0a2f73dc9b6da0766358ca30ccb1d4537901
extern "C" __global__ void forceCompute(float* pX,float* pY,float* pZ, float* nX,float* nY,float* nZ, float* FX,float* FY,float* FZ, float* RFX,float* RFY,float* RFZ, float* MX,float* MY,float* MZ, ...
.file "tmpxft_003a44b5_00000000-6_gpuForcesCompute.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 : forceCompute .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 forceCompute(float* pX,float* pY,float* pZ, float* nX,float* nY,float* nZ, float* FX,float* FY,float* FZ, float* RFX,float* RFY,float* RFZ, float...
.text .file "gpuForcesCompute.hip" .globl __device_stub__forceCompute # -- Begin function __device_stub__forceCompute .type __device_stub__forceCompute,@function __device_stub__forceCompute: # @__device_stub__forceCompute .cfi_startproc # %bb.0: pushq %rbp .cfi_def_cfa_offset 16 pushq %r15 .cfi_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected forceCompute ; -- Begin function forceCompute .globl forceCompute .p2align 8 .type forceCompute,@function forceCompute: ; @forceCompute ; %bb.0: s_mov_b32 s2, s15 s_clause 0x2 s_load_b512 s[52:67], s[0:1], 0x80 s...
5db18be471e1276d232f9c7a6694a72516644b27
#include "includes.h" __global__ void wlcss_cuda_kernel(int32_t *d_mss, int32_t *d_mss_offsets, int32_t *d_ts, int32_t *d_ss, int32_t *d_tlen, int32_t *d_toffsets, int32_t *d_slen, int32_t *d_soffsets, int32_t *d_params, int32_t *d_3d_cost_matrix){ int32_t params_idx = threadIdx.x; int32_t template_idx = blockIdx.x; i...
.file "tmpxft_00300ae7_00000000-6_wlcss_cuda_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 _ZL...
code for sm_89 Function : _Z17wlcss_cuda_kernelPiS_S_S_S_S_S_S_S_S_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void wlcss_cuda_kernel(int32_t *d_mss, int32_t *d_mss_offsets, int32_t *d_ts, int32_t *d_ss, int32_t *d_tlen, int32_t *d_toffsets, int32_t *d_slen, int32_t *d_soffsets, int32_t *d_params, int32_t *d_3d_cost_matrix){ int32_t params_idx = threadIdx.x; int32_...
.text .file "wlcss_cuda_kernel.hip" .globl _Z32__device_stub__wlcss_cuda_kernelPiS_S_S_S_S_S_S_S_S_ # -- Begin function _Z32__device_stub__wlcss_cuda_kernelPiS_S_S_S_S_S_S_S_S_ .type _Z32__device_stub__wlcss_cuda_kernelPiS_S_S_S_S_S_S_S_S_,@function _Z32__device_stub__wlcss_cuda_kernelPiS_S_S_S_S_S_S_S_S_: # @_Z32_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .section .text.unlikely.,"ax",@progbits .p2align 2 ; -- Begin function __ockl_dm_alloc .type __ockl_dm_alloc,@function __ockl_dm_alloc: ; @__ockl_dm_alloc ; %bb.0: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) s_or_s...
bb73200d89677cc78f92372d34c37c269a2daff2
#include <stdio.h> #include <stdlib.h> __global__ void sum_cuda(double* a, double *s, int width) { int t = threadIdx.x; int b = blockIdx.x*blockDim.x; int i; for(i = blockDim.x/2; i > 0; i /= 2) { if(t < i && b+t+i < width) a[t+b] += a[t+b+i]; __syncthreads(); } if(t == 0) s[blockI...
.file "tmpxft_0039746d_00000000-6_sum_cuda_noshared.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 _ZL...
code for sm_89 Function : _Z8sum_cudaPdS_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> #include <stdlib.h> __global__ void sum_cuda(double* a, double *s, int width) { int t = threadIdx.x; int b = blockIdx.x*blockDim.x; int i; for(i = blockDim.x/2; i > 0; i /= 2) { if(t < i && b+t+i < width) a[t+b] += a[t+b+i]; __syncthreads();...
.text .file "sum_cuda_noshared.hip" .globl _Z23__device_stub__sum_cudaPdS_i # -- Begin function _Z23__device_stub__sum_cudaPdS_i .type _Z23__device_stub__sum_cudaPdS_i,@function _Z23__device_stub__sum_cudaPdS_i: # @_Z23__device_stub__sum_cudaPdS_i .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z8sum_cudaPdS_i ; -- Begin function _Z8sum_cudaPdS_i .globl _Z8sum_cudaPdS_i .p2align 8 .type _Z8sum_cudaPdS_i,@function _Z8sum_cudaPdS_i: ; @_Z8sum_cudaPdS_i ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x24 s_load_b128...
168f59f69c859633bc76b9a90d199269a3badc2a
#include <cuda.h> #include <stdio.h> __global__ void scaleit_kernel(double *a,int n) { /* Determine my index */ int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < n) { a[i] = a[i] * 2.0l; } } int main(int argc, char **argv) { double *h_a, *d_a; int i,n=16384; dim3 block, grid; /* Allocate...
.file "tmpxft_0034340f_00000000-6_scaleitC.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__cudaU...
code for sm_89 Function : _Z14scaleit_kernelPdi .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 scaleit_kernel(double *a,int n) { /* Determine my index */ int i = blockIdx.x * blockDim.x + threadIdx.x; if (i < n) { a[i] = a[i] * 2.0l; } } int main(int argc, char **argv) { double *h_a, *d_a; int i,n=16384; dim3 block, grid; ...
.text .file "scaleitC.hip" .globl _Z29__device_stub__scaleit_kernelPdi # -- Begin function _Z29__device_stub__scaleit_kernelPdi .type _Z29__device_stub__scaleit_kernelPdi,@function _Z29__device_stub__scaleit_kernelPdi: # @_Z29__device_stub__scaleit_kernelPdi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offs...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14scaleit_kernelPdi ; -- Begin function _Z14scaleit_kernelPdi .globl _Z14scaleit_kernelPdi .p2align 8 .type _Z14scaleit_kernelPdi,@function _Z14scaleit_kernelPdi: ; @_Z14scaleit_kernelPdi ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1...
b3a34cc9df27ca7845af3d6421ad47df93c0fac3
/* #include "SDFDevice.cuh" __host__ SDFDevice::SDFDevice(DistancePrimitive** primitives, SDModification** modifications, size_t modificationCount) : primitives(primitives), modifications(modifications), modificationCount(modificationCount) { } __host__ SDFDevice::~SDFDevice() { } __device__ float SDFDevice::dista...
.file "tmpxft_0020c5b8_00000000-6_SDFDevice.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
#include <hip/hip_runtime.h> /* #include "SDFDevice.cuh" __host__ SDFDevice::SDFDevice(DistancePrimitive** primitives, SDModification** modifications, size_t modificationCount) : primitives(primitives), modifications(modifications), modificationCount(modificationCount) { } __host__ SDFDevice::~SDFDevice() { } __d...
.text .file "SDFDevice.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 e5bf7e55c91490b07c49d8960...
.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-...
0821020a00a022330667e1d94cd9ead2e3ee4c64
#ifndef M_PI #define M_PI 3.14159265358979323846 #endif __device__ int get_index_x (int ncols, int index ) { if (index == -1) { index = blockDim.x * blockIdx.x + threadIdx.x; } else { index += gridDim.x; } if (index >= ncols) index = -1; return index; } __device__ int get_index_y (int nrows...
.file "tmpxft_00365b9b_00000000-6_ITLkernels.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__cud...
code for sm_89 Function : _Z9NCC_primePfPKfS1_S1_S1_PKifiiii .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> #ifndef M_PI #define M_PI 3.14159265358979323846 #endif __device__ int get_index_x (int ncols, int index ) { if (index == -1) { index = blockDim.x * blockIdx.x + threadIdx.x; } else { index += gridDim.x; } if (index >= ncols) index = -1; return index; } __devic...
.text .file "ITLkernels.hip" .globl _Z18__device_stub__NCCPfPKfS1_S1_S1_PKifiiii # -- Begin function _Z18__device_stub__NCCPfPKfS1_S1_S1_PKifiiii .type _Z18__device_stub__NCCPfPKfS1_S1_S1_PKifiiii,@function _Z18__device_stub__NCCPfPKfS1_S1_S1_PKifiiii: # @_Z18__device_stub__NCCPfPKfS1_S1_S1_PKifiiii .cfi_startproc...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3NCCPfPKfS1_S1_S1_PKifiiii ; -- Begin function _Z3NCCPfPKfS1_S1_S1_PKifiiii .globl _Z3NCCPfPKfS1_S1_S1_PKifiiii .p2align 8 .type _Z3NCCPfPKfS1_S1_S1_PKifiiii,@function _Z3NCCPfPKfS1_S1_S1_PKifiiii: ; @_Z3NCCPfPKfS1_S1_S1_PKifiiii ; %bb.0: s...
3a6e10bea2ba83782c6b0e1f4f249c5c62c9cbef
// https://github.com/thrust/thrust/blob/8551c97870cd722486ba7834ae9d867f13e299ad/examples/sum_rows.cu #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/generate.h> #include <thrust/reduce.h> #include <thrust/functional.h> #include <thrust/random.h> #include <iostream> // convert a li...
.file "tmpxft_002d73c9_00000000-6_thrust.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,comdat ...
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...
// https://github.com/thrust/thrust/blob/8551c97870cd722486ba7834ae9d867f13e299ad/examples/sum_rows.cu #include <hip/hip_runtime.h> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <thrust/generate.h> #include <thrust/reduce.h> #include <thrust/functional.h> #include <thrust/random.h> #inclu...
.text .file "thrust.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .section .rodata.cst4,"aM",@progbits,4 .p2align 2, 0x0 # -- Begin function...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .section .text._ZN6thrust11hip_rocprim14__parallel_for6kernelILj256ENS0_20__uninitialized_fill7functorINS_10device_ptrIiEEiEEmLj1EEEvT0_T1_S9_,"axG",@progbits,_ZN6thrust11hip_rocprim14__parallel_for6kernelILj256ENS0_20__uninitialized_fill7functorINS_10device_ptrIiEEi...
3d7a9f540d6268104e35e8a74f6ffbc8baa79a87
// pi1.cu /* * A simple CUDA-enabled program that approximates \pi using monte-carlo * sampling. This version generates all the random numbers at the start, * then launches kernels to use them. */ #include <stdio.h> #include <curand.h> __global__ void pi(float* d_out, float* d_rands, int rands_per_kernel, int tri...
.file "tmpxft_0034b1aa_00000000-6_pi1.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 : _Z2piPfS_ii .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
// pi1.cu /* * A simple CUDA-enabled program that approximates \pi using monte-carlo * sampling. This version generates all the random numbers at the start, * then launches kernels to use them. */ #include <hip/hip_runtime.h> #include <stdio.h> #include <hiprand/hiprand.h> __global__ void pi(float* d_out, float*...
.text .file "pi1.hip" .globl _Z17__device_stub__piPfS_ii # -- Begin function _Z17__device_stub__piPfS_ii .type _Z17__device_stub__piPfS_ii,@function _Z17__device_stub__piPfS_ii: # @_Z17__device_stub__piPfS_ii .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 _Z2piPfS_ii ; -- Begin function _Z2piPfS_ii .globl _Z2piPfS_ii .p2align 8 .type _Z2piPfS_ii,@function _Z2piPfS_ii: ; @_Z2piPfS_ii ; %bb.0: s_clause 0x2 s_load_b32 s6, s[0:1], 0x24 s_load_b64 s[4:5], s[0:1], 0x10...
bb49543e9be737ec5e838968dd4e3cda667dbd82
#include <cuda.h> #include <stdio.h> #include <stdlib.h> #define BLOCK_SIZE 16 __global__ void mandelKernel(int* device_img, float lowerX, float lowerY, float stepX, float stepY, int width, int height, int maxIterations) { // To avoid error caused by the floating number, use the following pseudo code // float ...
.file "tmpxft_00275b68_00000000-6_kernel4.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cudaUn...
code for sm_89 Function : _Z12mandelKernelPiffffiii .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 BLOCK_SIZE 16 __global__ void mandelKernel(int* device_img, float lowerX, float lowerY, float stepX, float stepY, int width, int height, int maxIterations) { // To avoid error caused by the floating number, use the following pseudo code ...
.text .file "kernel4.hip" .globl _Z27__device_stub__mandelKernelPiffffiii # -- Begin function _Z27__device_stub__mandelKernelPiffffiii .type _Z27__device_stub__mandelKernelPiffffiii,@function _Z27__device_stub__mandelKernelPiffffiii: # @_Z27__device_stub__mandelKernelPiffffiii .cfi_startproc # %bb.0: pushq %r15 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12mandelKernelPiffffiii ; -- Begin function _Z12mandelKernelPiffffiii .globl _Z12mandelKernelPiffffiii .p2align 8 .type _Z12mandelKernelPiffffiii,@function _Z12mandelKernelPiffffiii: ; @_Z12mandelKernelPiffffiii ; %bb.0: s_clause 0x1 s_...
f75cbacd76a6963b21dd0460bc84752aceaf4d64
#include "includes.h" __global__ void bitflip_kernel(float* M, int height, int row, int n) { const unsigned int idx = blockIdx.x * blockDim.x + threadIdx.x; int off = blockDim.x * gridDim.x; for (unsigned int i = idx; i < n; i += off){ M[i * height + row] = 1 - M[i * height + row]; } }
.file "tmpxft_00305a2b_00000000-6_bitflip_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 : _Z14bitflip_kernelPfiii .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 bitflip_kernel(float* M, int height, int row, int n) { const unsigned int idx = blockIdx.x * blockDim.x + threadIdx.x; int off = blockDim.x * gridDim.x; for (unsigned int i = idx; i < n; i += off){ M[i * height + row] = 1 - M[i * height + row]; } }
.text .file "bitflip_kernel.hip" .globl _Z29__device_stub__bitflip_kernelPfiii # -- Begin function _Z29__device_stub__bitflip_kernelPfiii .type _Z29__device_stub__bitflip_kernelPfiii,@function _Z29__device_stub__bitflip_kernelPfiii: # @_Z29__device_stub__bitflip_kernelPfiii .cfi_startproc # %bb.0: pushq %r15 .cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z14bitflip_kernelPfiii ; -- Begin function _Z14bitflip_kernelPfiii .globl _Z14bitflip_kernelPfiii .p2align 8 .type _Z14bitflip_kernelPfiii,@function _Z14bitflip_kernelPfiii: ; @_Z14bitflip_kernelPfiii ; %bb.0: s_clause 0x1 s_load_b32 s...
b904629ca213e3cb1618c3dd35d8878bf06107bb
#include "includes.h" __global__ void MatrVectMul(int *d_c, int *d_a, int *d_b) { int i = blockIdx.x*blockDim.x+threadIdx.x; if(i<N) { d_c[i]=0; for (int k=0;k<N;k++) d_c[i]+=d_a[i+k*N]*d_b[k]; } }
.file "tmpxft_00212196_00000000-6_MatrVectMul.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2010: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2010: .size _ZL26__cu...
code for sm_89 Function : _Z11MatrVectMulPiS_S_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ MOV R1, c[0x0][0x28] ; /* 0x00000a0000017a02 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void MatrVectMul(int *d_c, int *d_a, int *d_b) { int i = blockIdx.x*blockDim.x+threadIdx.x; if(i<N) { d_c[i]=0; for (int k=0;k<N;k++) d_c[i]+=d_a[i+k*N]*d_b[k]; } }
.text .file "MatrVectMul.hip" .globl _Z26__device_stub__MatrVectMulPiS_S_ # -- Begin function _Z26__device_stub__MatrVectMulPiS_S_ .type _Z26__device_stub__MatrVectMulPiS_S_,@function _Z26__device_stub__MatrVectMulPiS_S_: # @_Z26__device_stub__MatrVectMulPiS_S_ .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_o...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11MatrVectMulPiS_S_ ; -- Begin function _Z11MatrVectMulPiS_S_ .globl _Z11MatrVectMulPiS_S_ .p2align 8 .type _Z11MatrVectMulPiS_S_,@function _Z11MatrVectMulPiS_S_: ; @_Z11MatrVectMulPiS_S_ ; %bb.0: s_load_b32 s2, s[0:1], 0x24 s_wai...
0bed173760d1ede4947566a6c7f92f777311a82e
#include <cuda_runtime.h> #include <float.h> #include <limits.h> #include <iostream> __global__ void bitonic_sort_step(float *dev_values, int j, int k){ unsigned int i = threadIdx.x + blockDim.x * blockIdx.x; unsigned int ixj = i ^ j; if(ixj > i){ if((i & k) == 0){ if(dev_values[i]...
.file "tmpxft_0027ac27_00000000-6_bitonic_sort.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3639: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT ....
code for sm_89 Function : _Z11max_paddingPfPii .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 <float.h> #include <limits.h> #include <iostream> __global__ void bitonic_sort_step(float *dev_values, int j, int k){ unsigned int i = threadIdx.x + blockDim.x * blockIdx.x; unsigned int ixj = i ^ j; if(ixj > i){ if((i & k) == 0){ if(dev_values...
.text .file "bitonic_sort.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z32__device_stub__bitonic_sort_stepPfii # -- Begin function _Z32__device_stub__bitonic...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17bitonic_sort_stepPfii ; -- Begin function _Z17bitonic_sort_stepPfii .globl _Z17bitonic_sort_stepPfii .p2align 8 .type _Z17bitonic_sort_stepPfii,@function _Z17bitonic_sort_stepPfii: ; @_Z17bitonic_sort_stepPfii ; %bb.0: s_clause 0x1 s_...
4ca86b99d8ab7b33e3b4505061a917ed20a1c035
#include "includes.h" __global__ void VanLeerRadialKernel (double *Rinf, double *Rsup, double *QRStar, double *DensStar, double *Vrad, double *LostByDisk, int nsec, int nrad, double dt, int OpenInner, double *Qbase, double *invSurf) { int j = threadIdx.x + blockDim.x*blockIdx.x; int i = threadIdx.y + blockDim.y*blockId...
.file "tmpxft_002b8ee1_00000000-6_VanLeerRadialKernel.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 : _Z19VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include "includes.h" __global__ void VanLeerRadialKernel (double *Rinf, double *Rsup, double *QRStar, double *DensStar, double *Vrad, double *LostByDisk, int nsec, int nrad, double dt, int OpenInner, double *Qbase, double *invSurf) { int j = threadIdx.x + blockDim.x*blockIdx.x; int i = th...
.text .file "VanLeerRadialKernel.hip" .globl _Z34__device_stub__VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ # -- Begin function _Z34__device_stub__VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ .type _Z34__device_stub__VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_,@function _Z34__device_stub__VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z19VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ ; -- Begin function _Z19VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ .globl _Z19VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_ .p2align 8 .type _Z19VanLeerRadialKernelPdS_S_S_S_S_iidiS_S_,@function _Z19VanLeerRadialKernel...
6ab3d8ee8dd2aa4c4e513fedeb63a1dedc7f7d63
#include <bits/stdc++.h> #include <chrono> using namespace std; __global__ void kernel(float *arr, int n) { int idx = blockDim.x * blockIdx.x + threadIdx.x; // Абсолютный номер потока int offset = blockDim.x * gridDim.x; // Общее кол-во потоков for(int i = idx; i < n; i += offset) { if (arr[i] < 0) ...
.file "tmpxft_00354a2c_00000000-6_lab1.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB10830: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_end...
code for sm_89 Function : _Z6kernelPfi .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 <bits/stdc++.h> #include <chrono> using namespace std; __global__ void kernel(float *arr, int n) { int idx = blockDim.x * blockIdx.x + threadIdx.x; // Абсолютный номер потока int offset = blockDim.x * gridDim.x; // Общее кол-во потоков for(int i = idx; i < n; i += offs...
.text .file "lab1.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z21__device_stub__kernelPfi # -- Begin function _Z21__device_stub__kernelPfi .type _Z21__d...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z6kernelPfi ; -- Begin function _Z6kernelPfi .globl _Z6kernelPfi .p2align 8 .type _Z6kernelPfi,@function _Z6kernelPfi: ; @_Z6kernelPfi ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x1c s_load_b32 s6, s[0:1], 0x8 ...
1162787f72c5fde7fff40a2f766371fee57afea8
#include "includes.h" __global__ void totalWithThreadSync(float *input, float *output, int len) { //@@ Compute reduction for a segment of the input vector int tid = threadIdx.x, i = blockIdx.x * blockDim.x + threadIdx.x; for(unsigned int j = blockDim.x/2; j > 0; j = j/2) { if(tid < j) { if ((i + j) < len) input[i] += ...
.file "tmpxft_00216e26_00000000-6_totalWithThreadSync.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 : _Z19totalWithThreadSyncPfS_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 "includes.h" __global__ void totalWithThreadSync(float *input, float *output, int len) { //@@ Compute reduction for a segment of the input vector int tid = threadIdx.x, i = blockIdx.x * blockDim.x + threadIdx.x; for(unsigned int j = blockDim.x/2; j > 0; j = j/2) { if(tid < j) { i...
.text .file "totalWithThreadSync.hip" .globl _Z34__device_stub__totalWithThreadSyncPfS_i # -- Begin function _Z34__device_stub__totalWithThreadSyncPfS_i .type _Z34__device_stub__totalWithThreadSyncPfS_i,@function _Z34__device_stub__totalWithThreadSyncPfS_i: # @_Z34__device_stub__totalWithThreadSyncPfS_i .cfi_start...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z19totalWithThreadSyncPfS_i ; -- Begin function _Z19totalWithThreadSyncPfS_i .globl _Z19totalWithThreadSyncPfS_i .p2align 8 .type _Z19totalWithThreadSyncPfS_i,@function _Z19totalWithThreadSyncPfS_i: ; @_Z19totalWithThreadSyncPfS_i ; %bb.0: s...
ef706d918bad76da4b8e9bf409991bca508e0d15
#include <stdio.h> #include "cuda.h" #include "cuda_runtime.h" // Define matrix width #define N 100 #define BLOCK_DIM 32 #define SIGMA 20.0 // Define tile size #define TILE_WIDTH 2 // Non shared version __global__ void computeMatrix(float *dVectorA, float *dVectorB, float *dVectorC, int length, float sigma) { int ...
.file "tmpxft_0035ed48_00000000-6_cuda.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 : _Z19computeMatrixSharedPfS_S_if .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 matrix width #define N 100 #define BLOCK_DIM 32 #define SIGMA 20.0 // Define tile size #define TILE_WIDTH 2 // Non shared version __global__ void computeMatrix(float *dVectorA, float *dVectorB, float *dVectorC, int length, float sigma) { int x = blockIdx.x...
.text .file "cuda.hip" .globl _Z28__device_stub__computeMatrixPfS_S_if # -- Begin function _Z28__device_stub__computeMatrixPfS_S_if .type _Z28__device_stub__computeMatrixPfS_S_if,@function _Z28__device_stub__computeMatrixPfS_S_if: # @_Z28__device_stub__computeMatrixPfS_S_if .cfi_startproc # %bb.0: pushq %r15 .cf...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z13computeMatrixPfS_S_if ; -- Begin function _Z13computeMatrixPfS_S_if .globl _Z13computeMatrixPfS_S_if .p2align 8 .type _Z13computeMatrixPfS_S_if,@function _Z13computeMatrixPfS_S_if: ; @_Z13computeMatrixPfS_S_if ; %bb.0: s_clause 0x1 s_...
cd072043f43e94355d877977b1852ff066cc61eb
//template<typename T> //__device__ void sliceRows(const T* matrix, const int from, const int to, T* result, // const int numRows, const int numColumns) { // // int bx = blockIdx.x; // int by = blockIdx.y; // int tx = threadIdx.x; // int ty = threadIdx.y; // // int row = by * blockDim.y + ...
.file "tmpxft_00201814_00000000-6_Slice.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
#include <hip/hip_runtime.h> //template<typename T> //__device__ void sliceRows(const T* matrix, const int from, const int to, T* result, // const int numRows, const int numColumns) { // // int bx = blockIdx.x; // int by = blockIdx.y; // int tx = threadIdx.x; // int ty = threadIdx.y; // //...
.text .file "Slice.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-...
2a0a2c59aee958aa85a376a43af9fc56cfc0c8cf
#include "includes.h" __global__ void prefixSum(float* arr,int step){ int bx = blockIdx.x; int tx = threadIdx.x; int BX = blockDim.x; int i = bx*BX+tx; if(i < step) return; int temp = arr[i-step]; __syncthreads(); arr[i] += temp; }
.file "tmpxft_0021f25d_00000000-6_prefixSum.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 : _Z9prefixSumPfi .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 prefixSum(float* arr,int step){ int bx = blockIdx.x; int tx = threadIdx.x; int BX = blockDim.x; int i = bx*BX+tx; if(i < step) return; int temp = arr[i-step]; __syncthreads(); arr[i] += temp; }
.text .file "prefixSum.hip" .globl _Z24__device_stub__prefixSumPfi # -- Begin function _Z24__device_stub__prefixSumPfi .type _Z24__device_stub__prefixSumPfi,@function _Z24__device_stub__prefixSumPfi: # @_Z24__device_stub__prefixSumPfi .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z9prefixSumPfi ; -- Begin function _Z9prefixSumPfi .globl _Z9prefixSumPfi .p2align 8 .type _Z9prefixSumPfi,@function _Z9prefixSumPfi: ; @_Z9prefixSumPfi ; %bb.0: s_clause 0x1 s_load_b32 s3, s[0:1], 0x1c s_load_b32 s2, ...
d1b0505ae92c0d3a5200ff88fe95c6ec32afc3f0
#include <cstdio> #include <cstdlib> __device__ void count(int *pos, int *tmp, int range, int i) { //count position by scan for (int j=1; j<range; j<<=1) { tmp[i] = pos[i]; __syncthreads(); if (i<j) return; pos[i] += tmp[i-j]; __syncthreads(); } } __global__ void bucket_sort(int *bucptr, int ...
.file "tmpxft_0025861c_00000000-6_12_bucket_sort.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 : _Z11bucket_sortPiS_S_S_ii .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <cstdio> #include <cstdlib> __device__ void count(int *pos, int *tmp, int range, int i) { //count position by scan for (int j=1; j<range; j<<=1) { tmp[i] = pos[i]; __syncthreads(); if (i<j) return; pos[i] += tmp[i-j]; __syncthreads(); } } __global__ void...
.text .file "12_bucket_sort.hip" .globl _Z26__device_stub__bucket_sortPiS_S_S_ii # -- Begin function _Z26__device_stub__bucket_sortPiS_S_S_ii .type _Z26__device_stub__bucket_sortPiS_S_S_ii,@function _Z26__device_stub__bucket_sortPiS_S_S_ii: # @_Z26__device_stub__bucket_sortPiS_S_S_ii .cfi_startproc # %bb.0: pushq...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z11bucket_sortPiS_S_S_ii ; -- Begin function _Z11bucket_sortPiS_S_S_ii .globl _Z11bucket_sortPiS_S_S_ii .p2align 8 .type _Z11bucket_sortPiS_S_S_ii,@function _Z11bucket_sortPiS_S_S_ii: ; @_Z11bucket_sortPiS_S_S_ii ; %bb.0: s_clause 0x1 s_...
b1da835a040ea5327dd2d7a73af8161efd0499db
#include <iostream> #include <math.h> #include <stdio.h> __global__ void add(int n, float *x, float *y, float *c) { int idx = blockIdx.x * blockDim.x + threadIdx.x; if (idx >= n) { return; } c[idx] = x[idx] + y[idx]; } void FillWithData(int n, float* x, float* y) { for (int i = 0; i < n; i++) { x[i]...
.file "tmpxft_002014e4_00000000-6_vector_add.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3641: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cf...
code for sm_89 Function : _Z3addiPfS_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 <iostream> #include <math.h> #include <stdio.h> __global__ void add(int n, float *x, float *y, float *c) { int idx = blockIdx.x * blockDim.x + threadIdx.x; if (idx >= n) { return; } c[idx] = x[idx] + y[idx]; } void FillWithData(int n, float* x, float* y) { for (int...
.text .file "vector_add.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z18__device_stub__addiPfS_S_ # -- Begin function _Z18__device_stub__addiPfS_S_ .type ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z3addiPfS_S_ ; -- Begin function _Z3addiPfS_S_ .globl _Z3addiPfS_S_ .p2align 8 .type _Z3addiPfS_S_,@function _Z3addiPfS_S_: ; @_Z3addiPfS_S_ ; %bb.0: s_clause 0x1 s_load_b32 s2, s[0:1], 0x2c s_load_b32 s3, s[0:1], ...
102f499cccc0adfff08bf3b296ccc33241e6bb7d
#include <stdio.h> int main() { const int kb = 1024; const int mb = kb * kb; const int gb = mb * kb; int nDevices; cudaGetDeviceCount(&nDevices); for (int i = 0; i < nDevices; i++) { cudaDeviceProp prop; cudaGetDeviceProperties(&prop, i); printf("\nDevice %d - GPU Card name : %s\n", i, prop.name);...
.file "tmpxft_003215f4_00000000-6_deviceQuery.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2030: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2030: .size _ZL26__cu...
code for sm_89
#include <hip/hip_runtime.h> #include <stdio.h> int main() { const int kb = 1024; const int mb = kb * kb; const int gb = mb * kb; int nDevices; hipGetDeviceCount(&nDevices); for (int i = 0; i < nDevices; i++) { hipDeviceProp_t prop; hipGetDeviceProperties(&prop, i); printf("\nDevice %d - GPU Card ...
.text .file "deviceQuery.hip" .section .rodata.cst16,"aM",@progbits,16 .p2align 4, 0x0 # -- Begin function main .LCPI0_0: .long 1127219200 # 0x43300000 .long 1160773632 # 0x45300000 .long 0 # 0x0 .long 0 ...
.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-...
e0f152726683f15d5c23b01fea1db85bf958d7fa
#include <iostream> //#include <Cuda.h> #include<curand.h> #include<curand_kernel.h> int n = 200; using namespace std; __device__ float generate( curandState* globalState, int ind ) { //int ind = threadIdx.x; curandState localState = globalState[ind]; float RANDOM = curand_uniform( &localState ); g...
.file "tmpxft_00333d57_00000000-6_tests_rng.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB3853: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi...
code for sm_89 Function : _Z6kernelPfP17curandStateXORWOWi .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTUAL_SM(EF_CUDA_SM89)" /*0000*/ IMAD.MOV.U32 R1, RZ, RZ, c[0x0][0x28] ; /* 0x00000a00ff017624 */ ...
#include <hip/hip_runtime.h> #include <iostream> //#include <Cuda.h> #include<hiprand/hiprand.h> #include<hiprand/hiprand_kernel.h> int n = 200; using namespace std; __device__ float generate( hiprandState* globalState, int ind ) { //int ind = threadIdx.x; hiprandState localState = globalState[ind]; f...
.text .file "tests_rng.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z27__device_stub__setup_kernelP12hiprandStatem # -- Begin function _Z27__device_stub__set...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12setup_kernelP12hiprandStatem ; -- Begin function _Z12setup_kernelP12hiprandStatem .globl _Z12setup_kernelP12hiprandStatem .p2align 8 .type _Z12setup_kernelP12hiprandStatem,@function _Z12setup_kernelP12hiprandStatem: ; @_Z12setup_kernelP12hipra...
965346d38c922e0b54c5d60a27382326aebbf860
#include <stdio.h> #include <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> #include <algorithm> #include <numeric> #include <thrust/complex.h> #include "cuda_runtime.h" #include "device_launch_parameters.h" using namespace std; const int MAX_THREADS = 1024; inline cudaError_t c...
.file "tmpxft_0020337c_00000000-6_kernel.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB6719: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_en...
code for sm_89 Function : _Z6kernelPdS_S_S_S_iiidS_S_Pi .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 <iostream> #include <string> #include <fstream> #include <sstream> #include <vector> #include <algorithm> #include <numeric> #include <thrust/complex.h> #include "hip/hip_runtime.h" using namespace std; const int MAX_THREADS = 1024; inline hipError_t checkCuda(hipError_t result) { i...
.text .file "kernel.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z27__device_stub__radiusKernelPdidPi # -- Begin function _Z27__device_stub__radiusKernelPdid...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z12radiusKernelPdidPi ; -- Begin function _Z12radiusKernelPdidPi .globl _Z12radiusKernelPdidPi .p2align 8 .type _Z12radiusKernelPdidPi,@function _Z12radiusKernelPdidPi: ; @_Z12radiusKernelPdidPi ; %bb.0: s_clause 0x1 s_load_b32 s2, s...
abcd7f4c16846fba3719fe1b8fb89c1d26dbffb9
#include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> #define E 2.71828182845904523536 __global__ void euler_step(float * array, int m, int step) { float dt = powf(10,-3); int tId = threadIdx.x + blockIdx.x * blockDim.x; if (tId < m) { array[tId] = array[tId] + dt*(4*(dt*step)-array[tId]+...
.file "tmpxft_002b79bb_00000000-6_2c.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 : _Z10euler_stepPfii .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 <time.h> #include <math.h> #define E 2.71828182845904523536 __global__ void euler_step(float * array, int m, int step) { float dt = powf(10,-3); int tId = threadIdx.x + blockIdx.x * blockDim.x; if (tId < m) { array[tId] = array[tId]...
.text .file "2c.hip" .globl _Z25__device_stub__euler_stepPfii # -- Begin function _Z25__device_stub__euler_stepPfii .type _Z25__device_stub__euler_stepPfii,@function _Z25__device_stub__euler_stepPfii: # @_Z25__device_stub__euler_stepPfii .cfi_startproc # %bb.0: pushq %r15 .cfi_def_cfa_offset 16 pushq %r14 ...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z10euler_stepPfii ; -- Begin function _Z10euler_stepPfii .globl _Z10euler_stepPfii .p2align 8 .type _Z10euler_stepPfii,@function _Z10euler_stepPfii: ; @_Z10euler_stepPfii ; %bb.0: s_clause 0x1 s_load_b32 s4, s[0:1], 0x1c s_l...
9a6258971ba1ec78ebb59da317d0af3556cbc34e
#include "includes.h" __global__ void createAnaglyph_kernel(uchar4 *out_image, const float *left_image, const float *right_image, int width, int height, int pre_shift) { const int x = __mul24(blockIdx.x, blockDim.x) + threadIdx.x; const int x_right = x - pre_shift; const int y = __mul24(blockIdx.y, blockDim.y) + thread...
.file "tmpxft_0038c697_00000000-6_createAnaglyph_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...
code for sm_89 Function : _Z21createAnaglyph_kernelP6uchar4PKfS2_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 "includes.h" __global__ void createAnaglyph_kernel(uchar4 *out_image, const float *left_image, const float *right_image, int width, int height, int pre_shift) { const int x = __mul24(blockIdx.x, blockDim.x) + threadIdx.x; const int x_right = x - pre_shift; const int y = __mul24(bl...
.text .file "createAnaglyph_kernel.hip" .globl _Z36__device_stub__createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii # -- Begin function _Z36__device_stub__createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii .type _Z36__device_stub__createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii,@function _Z36__de...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z21createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii ; -- Begin function _Z21createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii .globl _Z21createAnaglyph_kernelP15HIP_vector_typeIhLj4EEPKfS3_iii .p2align 8 .type _Z21createAnaglyph_kernelP15H...
8811e3845e401522cb06f3b4e6634c9ff273837c
#include <cstdio> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <chrono> #define CUDA_RANGE 1000 #define BLOCK_SIZE 512 #define WARP_SIZE 32 struct point { float x; float y; }; const int THREADS = 1 << 20; const int THREADS_PER_BLOCK = 512; __device__ float func(float x) { ...
.file "tmpxft_002844a0_00000000-6_main.cudafe1.cpp" .text #APP .globl _ZSt21ios_base_library_initv #NO_APP .section .text._ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,"axG",@progbits,_ZNK6thrust20THRUST_200700_890_NS6system14error_category23default_error_conditionEi,comdat ....
code for sm_89 Function : _ZN3cub17CUB_200700_890_NS6detail8for_each13static_kernelINS2_12policy_hub_t12policy_350_tEmN6thrust20THRUST_200700_890_NS8cuda_cub20__uninitialized_fill7functorINS7_10device_ptrI5pointEESC_EEEEvT0_T1_ .headerflags @"EF_CUDA_TEXMODE_UNIFIED EF_CUDA_64BIT_ADDRESS EF_CUDA_SM89 EF_CUDA_VIRTU...
#include <hip/hip_runtime.h> #include <cstdio> #include <thrust/host_vector.h> #include <thrust/device_vector.h> #include <chrono> #define CUDA_RANGE 1000 #define BLOCK_SIZE 512 #define WARP_SIZE 32 struct point { float x; float y; }; const int THREADS = 1 << 20; const int THREADS_PER_BLOCK = 512; __devic...
.text .file "main.hip" # Start of file scope inline assembly .globl _ZSt21ios_base_library_initv # End of file scope inline assembly .globl _Z21__device_stub__kernelP5point # -- Begin function _Z21__device_stub__kernelP5point .type _Z...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .p2align 2 ; -- Begin function _Z4funcf .type _Z4funcf,@function _Z4funcf: ; @_Z4funcf ; %bb.0: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0) v_frexp_mant_f32_e64 v1, |v0| s_mov_b32 s0, 0x3e76c4e1 s_mov_b32 s...
350cf46069706141a897c750d2a9bac38147718b
/// LSU EE 7700-2 (Spring 2013), GPU Microarchitecture // /// Homework 3 // // Assignment in: http://www.ece.lsu.edu/koppel/gp/2013/hw03.pdf // /// Your Name: #include <pthread.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <ctype.h> #include <time.h...
.file "tmpxft_002a1c33_00000000-6_hw3.cudafe1.cpp" .text #APP #NO_APP .type _ZL26__cudaUnregisterBinaryUtilv, @function _ZL26__cudaUnregisterBinaryUtilv: .LFB2069: .cfi_startproc endbr64 movq _ZL20__cudaFatCubinHandle(%rip), %rdi jmp __cudaUnregisterFatBinary@PLT .cfi_endproc .LFE2069: .size _ZL26__cudaUnregi...
code for sm_89 Function : _Z17cuda_thread_startv .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 */ ...
/// LSU EE 7700-2 (Spring 2013), GPU Microarchitecture // /// Homework 3 // // Assignment in: http://www.ece.lsu.edu/koppel/gp/2013/hw03.pdf // /// Your Name: #include <pthread.h> #include <string.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <errno.h> #include <ctype.h> #include <time.h...
.text .file "hw3.hip" .section .rodata.cst8,"aM",@progbits,8 .p2align 3, 0x0 # -- Begin function _Z7time_fpv .LCPI0_0: .quad 0x3e112e0be826d695 # double 1.0000000000000001E-9 .text .globl _Z7time_fpv .type _Z7time_fpv,@function _Z7time_fpv: # @_Z7...
.text .amdgcn_target "amdgcn-amd-amdhsa--gfx1100" .protected _Z17cuda_thread_startv ; -- Begin function _Z17cuda_thread_startv .globl _Z17cuda_thread_startv .p2align 8 .type _Z17cuda_thread_startv,@function _Z17cuda_thread_startv: ; @_Z17cuda_thread_startv ; %bb.0: s_getpc_b64 s[4:5] s_add_u32 ...