mirror of
https://github.com/vosen/ZLUDA.git
synced 2025-08-01 05:48:37 +00:00
Connect new parser to LLVM bitcode backend (#269)
This is very incomplete. Just enough code to emit LLVM bitcode and continue further development
This commit is contained in:
parent
193eb29be8
commit
46def3e7e0
35 changed files with 10125 additions and 7508 deletions
8
ext/hip_runtime-sys/Cargo.toml
vendored
Normal file
8
ext/hip_runtime-sys/Cargo.toml
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "hip_runtime-sys"
|
||||
version = "0.0.0"
|
||||
authors = ["Andrzej Janik <vosen@vosen.pl>"]
|
||||
edition = "2021"
|
||||
links = "amdhip"
|
||||
|
||||
[lib]
|
1
ext/hip_runtime-sys/README
vendored
Normal file
1
ext/hip_runtime-sys/README
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
bindgen --rust-target 1.77 /opt/rocm/include/hip/hip_runtime_api.h -o hip_runtime_api.rs --no-layout-tests --default-enum-style=newtype --allowlist-function "hip.*" --allowlist-type "hip.*" --no-derive-debug --must-use-type hipError_t --new-type-alias "^hipDeviceptr_t$" --allowlist-var "^hip.*$" -- -I/opt/rocm/include -D__HIP_PLATFORM_AMD__
|
20
ext/hip_runtime-sys/build.rs
vendored
Normal file
20
ext/hip_runtime-sys/build.rs
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
use std::env::VarError;
|
||||
use std::{env, path::PathBuf};
|
||||
|
||||
fn main() -> Result<(), VarError> {
|
||||
if cfg!(windows) {
|
||||
println!("cargo:rustc-link-lib=dylib=amdhip64_6");
|
||||
let env = env::var("CARGO_CFG_TARGET_ENV")?;
|
||||
if env == "msvc" {
|
||||
let mut path = PathBuf::from(env::var("CARGO_MANIFEST_DIR")?);
|
||||
path.push("lib");
|
||||
println!("cargo:rustc-link-search=native={}", path.display());
|
||||
} else {
|
||||
println!("cargo:rustc-link-search=native=C:\\Windows\\System32");
|
||||
};
|
||||
} else {
|
||||
println!("cargo:rustc-link-lib=dylib=amdhip64");
|
||||
println!("cargo:rustc-link-search=native=/opt/rocm/lib/");
|
||||
}
|
||||
Ok(())
|
||||
}
|
2
ext/hip_runtime-sys/include/hip_runtime_api.h
vendored
Normal file
2
ext/hip_runtime-sys/include/hip_runtime_api.h
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
#define __HIP_PLATFORM_HCC__
|
||||
#include <hip/hip_runtime_api.h>
|
567
ext/hip_runtime-sys/lib/amdhip64_6.def
vendored
Normal file
567
ext/hip_runtime-sys/lib/amdhip64_6.def
vendored
Normal file
|
@ -0,0 +1,567 @@
|
|||
;
|
||||
; Definition file of amdhip64_6.dll
|
||||
; Automatic generated by gendef
|
||||
; written by Kai Tietz 2008
|
||||
;
|
||||
LIBRARY "amdhip64_6.dll"
|
||||
EXPORTS
|
||||
; enum hipError_t __cdecl hipExtModuleLaunchKernel(struct ihipModuleSymbol_t *__ptr64,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned __int64,struct ihipStream_t *__ptr64,void *__ptr64 *__ptr64,void *__ptr64 *__ptr64,struct ihipEvent_t *__ptr64,struct ihipEvent_t *__ptr64,unsigned int)
|
||||
?hipExtModuleLaunchKernel@@YA?AW4hipError_t@@PEAUihipModuleSymbol_t@@IIIIII_KPEAUihipStream_t@@PEAPEAX3PEAUihipEvent_t@@4I@Z
|
||||
hipExternalMemoryGetMappedMipmappedArray
|
||||
hipGraphAddExternalSemaphoresSignalNode
|
||||
hipGraphAddExternalSemaphoresWaitNode
|
||||
hipGraphExecExternalSemaphoresSignalNodeSetParams
|
||||
hipGraphExecExternalSemaphoresWaitNodeSetParams
|
||||
hipGraphExternalSemaphoresSignalNodeGetParams
|
||||
hipGraphExternalSemaphoresSignalNodeSetParams
|
||||
hipGraphExternalSemaphoresWaitNodeGetParams
|
||||
hipGraphExternalSemaphoresWaitNodeSetParams
|
||||
; enum hipError_t __cdecl hipHccModuleLaunchKernel(struct ihipModuleSymbol_t *__ptr64,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned int,unsigned __int64,struct ihipStream_t *__ptr64,void *__ptr64 *__ptr64,void *__ptr64 *__ptr64,struct ihipEvent_t *__ptr64,struct ihipEvent_t *__ptr64)
|
||||
?hipHccModuleLaunchKernel@@YA?AW4hipError_t@@PEAUihipModuleSymbol_t@@IIIIII_KPEAUihipStream_t@@PEAPEAX3PEAUihipEvent_t@@4@Z
|
||||
hipTexRefGetArray
|
||||
hipTexRefGetBorderColor
|
||||
AMD_CPU_AFFINITY DATA
|
||||
AMD_DIRECT_DISPATCH DATA
|
||||
AMD_GPU_FORCE_SINGLE_FP_DENORM DATA
|
||||
AMD_LOG_LEVEL DATA
|
||||
AMD_LOG_LEVEL_FILE DATA
|
||||
AMD_LOG_MASK DATA
|
||||
AMD_OCL_BUILD_OPTIONS DATA
|
||||
AMD_OCL_BUILD_OPTIONS_APPEND DATA
|
||||
AMD_OCL_LINK_OPTIONS DATA
|
||||
AMD_OCL_LINK_OPTIONS_APPEND DATA
|
||||
AMD_OCL_WAIT_COMMAND DATA
|
||||
AMD_OPT_FLUSH DATA
|
||||
AMD_SERIALIZE_COPY DATA
|
||||
AMD_SERIALIZE_KERNEL DATA
|
||||
AMD_THREAD_TRACE_ENABLE DATA
|
||||
CL_KHR_FP64 DATA
|
||||
CQ_THREAD_STACK_SIZE DATA
|
||||
CUDA_VISIBLE_DEVICES DATA
|
||||
DEBUG_CLR_GRAPH_PACKET_CAPTURE DATA
|
||||
DEBUG_CLR_LIMIT_BLIT_WG DATA
|
||||
DEBUG_HIP_GRAPH_DOT_PRINT DATA
|
||||
DISABLE_DEFERRED_ALLOC DATA
|
||||
GPU_ADD_HBCC_SIZE DATA
|
||||
GPU_ANALYZE_HANG DATA
|
||||
GPU_BLIT_ENGINE_TYPE DATA
|
||||
GPU_CP_DMA_COPY_SIZE DATA
|
||||
GPU_DEBUG_ENABLE DATA
|
||||
GPU_DEVICE_ORDINAL DATA
|
||||
GPU_DUMP_BLIT_KERNELS DATA
|
||||
GPU_DUMP_CODE_OBJECT DATA
|
||||
GPU_ENABLE_COOP_GROUPS DATA
|
||||
GPU_ENABLE_HW_P2P DATA
|
||||
GPU_ENABLE_LC DATA
|
||||
GPU_ENABLE_PAL DATA
|
||||
GPU_ENABLE_WAVE32_MODE DATA
|
||||
GPU_ENABLE_WGP_MODE DATA
|
||||
GPU_FLUSH_ON_EXECUTION DATA
|
||||
GPU_FORCE_BLIT_COPY_SIZE DATA
|
||||
GPU_FORCE_QUEUE_PROFILING DATA
|
||||
GPU_IMAGE_BUFFER_WAR DATA
|
||||
GPU_IMAGE_DMA DATA
|
||||
GPU_MAX_COMMAND_BUFFERS DATA
|
||||
GPU_MAX_HEAP_SIZE DATA
|
||||
GPU_MAX_HW_QUEUES DATA
|
||||
GPU_MAX_REMOTE_MEM_SIZE DATA
|
||||
GPU_MAX_SUBALLOC_SIZE DATA
|
||||
GPU_MAX_USWC_ALLOC_SIZE DATA
|
||||
GPU_MAX_WORKGROUP_SIZE DATA
|
||||
GPU_MIPMAP DATA
|
||||
GPU_NUM_COMPUTE_RINGS DATA
|
||||
GPU_NUM_MEM_DEPENDENCY DATA
|
||||
GPU_PINNED_MIN_XFER_SIZE DATA
|
||||
GPU_PINNED_XFER_SIZE DATA
|
||||
GPU_PRINT_CHILD_KERNEL DATA
|
||||
GPU_RESOURCE_CACHE_SIZE DATA
|
||||
GPU_SINGLE_ALLOC_PERCENT DATA
|
||||
GPU_STAGING_BUFFER_SIZE DATA
|
||||
GPU_STREAMOPS_CP_WAIT DATA
|
||||
GPU_USE_DEVICE_QUEUE DATA
|
||||
GPU_WAVES_PER_SIMD DATA
|
||||
GPU_XFER_BUFFER_SIZE DATA
|
||||
HIPRTC_COMPILE_OPTIONS_APPEND DATA
|
||||
HIPRTC_LINK_OPTIONS_APPEND DATA
|
||||
HIPRTC_USE_RUNTIME_UNBUNDLER DATA
|
||||
HIP_FORCE_DEV_KERNARG DATA
|
||||
HIP_HIDDEN_FREE_MEM DATA
|
||||
HIP_HOST_COHERENT DATA
|
||||
HIP_INITIAL_DM_SIZE DATA
|
||||
HIP_LAUNCH_BLOCKING DATA
|
||||
HIP_MEM_POOL_SUPPORT DATA
|
||||
HIP_MEM_POOL_USE_VM DATA
|
||||
HIP_USE_RUNTIME_UNBUNDLER DATA
|
||||
HIP_VISIBLE_DEVICES DATA
|
||||
HIP_VMEM_MANAGE_SUPPORT DATA
|
||||
HSA_KERNARG_POOL_SIZE DATA
|
||||
HSA_LOCAL_MEMORY_ENABLE DATA
|
||||
OCL_SET_SVM_SIZE DATA
|
||||
OCL_STUB_PROGRAMS DATA
|
||||
OPENCL_VERSION DATA
|
||||
PAL_ALWAYS_RESIDENT DATA
|
||||
PAL_DISABLE_SDMA DATA
|
||||
PAL_EMBED_KERNEL_MD DATA
|
||||
PAL_FORCE_ASIC_REVISION DATA
|
||||
PAL_HIP_IPC_FLAG DATA
|
||||
PAL_MALL_POLICY DATA
|
||||
PAL_PREPINNED_MEMORY_SIZE DATA
|
||||
PAL_RGP_DISP_COUNT DATA
|
||||
REMOTE_ALLOC DATA
|
||||
ROC_ACTIVE_WAIT_TIMEOUT DATA
|
||||
ROC_AQL_QUEUE_SIZE DATA
|
||||
ROC_CPU_WAIT_FOR_SIGNAL DATA
|
||||
ROC_ENABLE_LARGE_BAR DATA
|
||||
ROC_GLOBAL_CU_MASK DATA
|
||||
ROC_HMM_FLAGS DATA
|
||||
ROC_P2P_SDMA_SIZE DATA
|
||||
ROC_SIGNAL_POOL_SIZE DATA
|
||||
ROC_SKIP_KERNEL_ARG_COPY DATA
|
||||
ROC_SYSTEM_SCOPE_SIGNAL DATA
|
||||
ROC_USE_FGS_KERNARG DATA
|
||||
__gnu_f2h_ieee
|
||||
__gnu_h2f_ieee
|
||||
__hipPopCallConfiguration
|
||||
__hipPushCallConfiguration
|
||||
__hipRegisterFatBinary
|
||||
__hipRegisterFunction
|
||||
__hipRegisterManagedVar
|
||||
__hipRegisterSurface
|
||||
__hipRegisterTexture
|
||||
__hipRegisterVar
|
||||
__hipUnregisterFatBinary
|
||||
amd_dbgapi_get_build_id
|
||||
amd_dbgapi_get_build_name
|
||||
amd_dbgapi_get_git_hash
|
||||
hipApiName
|
||||
hipArray3DCreate
|
||||
hipArray3DGetDescriptor
|
||||
hipArrayCreate
|
||||
hipArrayDestroy
|
||||
hipArrayGetDescriptor
|
||||
hipArrayGetInfo
|
||||
hipBindTexture
|
||||
hipBindTexture2D
|
||||
hipBindTextureToArray
|
||||
hipBindTextureToMipmappedArray
|
||||
hipChooseDevice
|
||||
hipChooseDeviceR0000
|
||||
hipChooseDeviceR0600
|
||||
hipConfigureCall
|
||||
hipCreateChannelDesc
|
||||
hipCreateSurfaceObject
|
||||
hipCreateTextureObject
|
||||
hipCtxCreate
|
||||
hipCtxDestroy
|
||||
hipCtxDisablePeerAccess
|
||||
hipCtxEnablePeerAccess
|
||||
hipCtxGetApiVersion
|
||||
hipCtxGetCacheConfig
|
||||
hipCtxGetCurrent
|
||||
hipCtxGetDevice
|
||||
hipCtxGetFlags
|
||||
hipCtxGetSharedMemConfig
|
||||
hipCtxPopCurrent
|
||||
hipCtxPushCurrent
|
||||
hipCtxSetCacheConfig
|
||||
hipCtxSetCurrent
|
||||
hipCtxSetSharedMemConfig
|
||||
hipCtxSynchronize
|
||||
hipDestroyExternalMemory
|
||||
hipDestroyExternalSemaphore
|
||||
hipDestroySurfaceObject
|
||||
hipDestroyTextureObject
|
||||
hipDeviceCanAccessPeer
|
||||
hipDeviceComputeCapability
|
||||
hipDeviceDisablePeerAccess
|
||||
hipDeviceEnablePeerAccess
|
||||
hipDeviceGet
|
||||
hipDeviceGetAttribute
|
||||
hipDeviceGetByPCIBusId
|
||||
hipDeviceGetCacheConfig
|
||||
hipDeviceGetDefaultMemPool
|
||||
hipDeviceGetGraphMemAttribute
|
||||
hipDeviceGetLimit
|
||||
hipDeviceGetMemPool
|
||||
hipDeviceGetName
|
||||
hipDeviceGetP2PAttribute
|
||||
hipDeviceGetPCIBusId
|
||||
hipDeviceGetSharedMemConfig
|
||||
hipDeviceGetStreamPriorityRange
|
||||
hipDeviceGetUuid
|
||||
hipDeviceGraphMemTrim
|
||||
hipDevicePrimaryCtxGetState
|
||||
hipDevicePrimaryCtxRelease
|
||||
hipDevicePrimaryCtxReset
|
||||
hipDevicePrimaryCtxRetain
|
||||
hipDevicePrimaryCtxSetFlags
|
||||
hipDeviceReset
|
||||
hipDeviceSetCacheConfig
|
||||
hipDeviceSetGraphMemAttribute
|
||||
hipDeviceSetLimit
|
||||
hipDeviceSetMemPool
|
||||
hipDeviceSetSharedMemConfig
|
||||
hipDeviceSynchronize
|
||||
hipDeviceTotalMem
|
||||
hipDriverGetVersion
|
||||
hipDrvGetErrorName
|
||||
hipDrvGetErrorString
|
||||
hipDrvGraphAddMemcpyNode
|
||||
hipDrvGraphAddMemsetNode
|
||||
hipDrvMemcpy2DUnaligned
|
||||
hipDrvMemcpy3D
|
||||
hipDrvMemcpy3DAsync
|
||||
hipDrvPointerGetAttributes
|
||||
hipEventCreate
|
||||
hipEventCreateWithFlags
|
||||
hipEventDestroy
|
||||
hipEventElapsedTime
|
||||
hipEventQuery
|
||||
hipEventRecord
|
||||
hipEventRecord_spt
|
||||
hipEventSynchronize
|
||||
hipExtGetLastError
|
||||
hipExtGetLinkTypeAndHopCount
|
||||
hipExtLaunchKernel
|
||||
hipExtLaunchMultiKernelMultiDevice
|
||||
hipExtMallocWithFlags
|
||||
hipExtModuleLaunchKernel
|
||||
hipExtStreamCreateWithCUMask
|
||||
hipExtStreamGetCUMask
|
||||
hipExternalMemoryGetMappedBuffer
|
||||
hipFree
|
||||
hipFreeArray
|
||||
hipFreeAsync
|
||||
hipFreeHost
|
||||
hipFreeMipmappedArray
|
||||
hipFuncGetAttribute
|
||||
hipFuncGetAttributes
|
||||
hipFuncSetAttribute
|
||||
hipFuncSetCacheConfig
|
||||
hipFuncSetSharedMemConfig
|
||||
hipGLGetDevices
|
||||
hipGetChannelDesc
|
||||
hipGetCmdName
|
||||
hipGetDevice
|
||||
hipGetDeviceCount
|
||||
hipGetDeviceFlags
|
||||
hipGetDeviceProperties
|
||||
hipGetDevicePropertiesR0000
|
||||
hipGetDevicePropertiesR0600
|
||||
hipGetErrorName
|
||||
hipGetErrorString
|
||||
hipGetLastError
|
||||
hipGetMipmappedArrayLevel
|
||||
hipGetStreamDeviceId
|
||||
hipGetSymbolAddress
|
||||
hipGetSymbolSize
|
||||
hipGetTextureAlignmentOffset
|
||||
hipGetTextureObjectResourceDesc
|
||||
hipGetTextureObjectResourceViewDesc
|
||||
hipGetTextureObjectTextureDesc
|
||||
hipGetTextureReference
|
||||
hipGraphAddChildGraphNode
|
||||
hipGraphAddDependencies
|
||||
hipGraphAddEmptyNode
|
||||
hipGraphAddEventRecordNode
|
||||
hipGraphAddEventWaitNode
|
||||
hipGraphAddHostNode
|
||||
hipGraphAddKernelNode
|
||||
hipGraphAddMemAllocNode
|
||||
hipGraphAddMemFreeNode
|
||||
hipGraphAddMemcpyNode
|
||||
hipGraphAddMemcpyNode1D
|
||||
hipGraphAddMemcpyNodeFromSymbol
|
||||
hipGraphAddMemcpyNodeToSymbol
|
||||
hipGraphAddMemsetNode
|
||||
hipGraphChildGraphNodeGetGraph
|
||||
hipGraphClone
|
||||
hipGraphCreate
|
||||
hipGraphDebugDotPrint
|
||||
hipGraphDestroy
|
||||
hipGraphDestroyNode
|
||||
hipGraphEventRecordNodeGetEvent
|
||||
hipGraphEventRecordNodeSetEvent
|
||||
hipGraphEventWaitNodeGetEvent
|
||||
hipGraphEventWaitNodeSetEvent
|
||||
hipGraphExecChildGraphNodeSetParams
|
||||
hipGraphExecDestroy
|
||||
hipGraphExecEventRecordNodeSetEvent
|
||||
hipGraphExecEventWaitNodeSetEvent
|
||||
hipGraphExecHostNodeSetParams
|
||||
hipGraphExecKernelNodeSetParams
|
||||
hipGraphExecMemcpyNodeSetParams
|
||||
hipGraphExecMemcpyNodeSetParams1D
|
||||
hipGraphExecMemcpyNodeSetParamsFromSymbol
|
||||
hipGraphExecMemcpyNodeSetParamsToSymbol
|
||||
hipGraphExecMemsetNodeSetParams
|
||||
hipGraphExecUpdate
|
||||
hipGraphGetEdges
|
||||
hipGraphGetNodes
|
||||
hipGraphGetRootNodes
|
||||
hipGraphHostNodeGetParams
|
||||
hipGraphHostNodeSetParams
|
||||
hipGraphInstantiate
|
||||
hipGraphInstantiateWithFlags
|
||||
hipGraphKernelNodeCopyAttributes
|
||||
hipGraphKernelNodeGetAttribute
|
||||
hipGraphKernelNodeGetParams
|
||||
hipGraphKernelNodeSetAttribute
|
||||
hipGraphKernelNodeSetParams
|
||||
hipGraphLaunch
|
||||
hipGraphLaunch_spt
|
||||
hipGraphMemAllocNodeGetParams
|
||||
hipGraphMemFreeNodeGetParams
|
||||
hipGraphMemcpyNodeGetParams
|
||||
hipGraphMemcpyNodeSetParams
|
||||
hipGraphMemcpyNodeSetParams1D
|
||||
hipGraphMemcpyNodeSetParamsFromSymbol
|
||||
hipGraphMemcpyNodeSetParamsToSymbol
|
||||
hipGraphMemsetNodeGetParams
|
||||
hipGraphMemsetNodeSetParams
|
||||
hipGraphNodeFindInClone
|
||||
hipGraphNodeGetDependencies
|
||||
hipGraphNodeGetDependentNodes
|
||||
hipGraphNodeGetEnabled
|
||||
hipGraphNodeGetType
|
||||
hipGraphNodeSetEnabled
|
||||
hipGraphReleaseUserObject
|
||||
hipGraphRemoveDependencies
|
||||
hipGraphRetainUserObject
|
||||
hipGraphUpload
|
||||
hipGraphicsGLRegisterBuffer
|
||||
hipGraphicsGLRegisterImage
|
||||
hipGraphicsMapResources
|
||||
hipGraphicsResourceGetMappedPointer
|
||||
hipGraphicsSubResourceGetMappedArray
|
||||
hipGraphicsUnmapResources
|
||||
hipGraphicsUnregisterResource
|
||||
hipHccModuleLaunchKernel
|
||||
hipHostAlloc
|
||||
hipHostFree
|
||||
hipHostGetDevicePointer
|
||||
hipHostGetFlags
|
||||
hipHostMalloc
|
||||
hipHostRegister
|
||||
hipHostUnregister
|
||||
hipImportExternalMemory
|
||||
hipImportExternalSemaphore
|
||||
hipInit
|
||||
hipIpcCloseMemHandle
|
||||
hipIpcGetEventHandle
|
||||
hipIpcGetMemHandle
|
||||
hipIpcOpenEventHandle
|
||||
hipIpcOpenMemHandle
|
||||
hipKernelNameRef
|
||||
hipLaunchByPtr
|
||||
hipLaunchCooperativeKernel
|
||||
hipLaunchCooperativeKernelMultiDevice
|
||||
hipLaunchCooperativeKernel_spt
|
||||
hipLaunchHostFunc
|
||||
hipLaunchHostFunc_spt
|
||||
hipLaunchKernel
|
||||
hipLaunchKernel_spt
|
||||
hipMalloc
|
||||
hipMalloc3D
|
||||
hipMalloc3DArray
|
||||
hipMallocArray
|
||||
hipMallocAsync
|
||||
hipMallocFromPoolAsync
|
||||
hipMallocHost
|
||||
hipMallocManaged
|
||||
hipMallocMipmappedArray
|
||||
hipMallocPitch
|
||||
hipMemAddressFree
|
||||
hipMemAddressReserve
|
||||
hipMemAdvise
|
||||
hipMemAllocHost
|
||||
hipMemAllocPitch
|
||||
hipMemCreate
|
||||
hipMemExportToShareableHandle
|
||||
hipMemGetAccess
|
||||
hipMemGetAddressRange
|
||||
hipMemGetAllocationGranularity
|
||||
hipMemGetAllocationPropertiesFromHandle
|
||||
hipMemGetInfo
|
||||
hipMemImportFromShareableHandle
|
||||
hipMemMap
|
||||
hipMemMapArrayAsync
|
||||
hipMemPoolCreate
|
||||
hipMemPoolDestroy
|
||||
hipMemPoolExportPointer
|
||||
hipMemPoolExportToShareableHandle
|
||||
hipMemPoolGetAccess
|
||||
hipMemPoolGetAttribute
|
||||
hipMemPoolImportFromShareableHandle
|
||||
hipMemPoolImportPointer
|
||||
hipMemPoolSetAccess
|
||||
hipMemPoolSetAttribute
|
||||
hipMemPoolTrimTo
|
||||
hipMemPrefetchAsync
|
||||
hipMemPtrGetInfo
|
||||
hipMemRangeGetAttribute
|
||||
hipMemRangeGetAttributes
|
||||
hipMemRelease
|
||||
hipMemRetainAllocationHandle
|
||||
hipMemSetAccess
|
||||
hipMemUnmap
|
||||
hipMemcpy
|
||||
hipMemcpy2D
|
||||
hipMemcpy2DAsync
|
||||
hipMemcpy2DAsync_spt
|
||||
hipMemcpy2DFromArray
|
||||
hipMemcpy2DFromArrayAsync
|
||||
hipMemcpy2DFromArrayAsync_spt
|
||||
hipMemcpy2DFromArray_spt
|
||||
hipMemcpy2DToArray
|
||||
hipMemcpy2DToArrayAsync
|
||||
hipMemcpy2DToArrayAsync_spt
|
||||
hipMemcpy2DToArray_spt
|
||||
hipMemcpy2D_spt
|
||||
hipMemcpy3D
|
||||
hipMemcpy3DAsync
|
||||
hipMemcpy3DAsync_spt
|
||||
hipMemcpy3D_spt
|
||||
hipMemcpyAsync
|
||||
hipMemcpyAsync_spt
|
||||
hipMemcpyAtoH
|
||||
hipMemcpyDtoD
|
||||
hipMemcpyDtoDAsync
|
||||
hipMemcpyDtoH
|
||||
hipMemcpyDtoHAsync
|
||||
hipMemcpyFromArray
|
||||
hipMemcpyFromArray_spt
|
||||
hipMemcpyFromSymbol
|
||||
hipMemcpyFromSymbolAsync
|
||||
hipMemcpyFromSymbolAsync_spt
|
||||
hipMemcpyFromSymbol_spt
|
||||
hipMemcpyHtoA
|
||||
hipMemcpyHtoD
|
||||
hipMemcpyHtoDAsync
|
||||
hipMemcpyParam2D
|
||||
hipMemcpyParam2DAsync
|
||||
hipMemcpyPeer
|
||||
hipMemcpyPeerAsync
|
||||
hipMemcpyToArray
|
||||
hipMemcpyToSymbol
|
||||
hipMemcpyToSymbolAsync
|
||||
hipMemcpyToSymbolAsync_spt
|
||||
hipMemcpyToSymbol_spt
|
||||
hipMemcpyWithStream
|
||||
hipMemcpy_spt
|
||||
hipMemset
|
||||
hipMemset2D
|
||||
hipMemset2DAsync
|
||||
hipMemset2DAsync_spt
|
||||
hipMemset2D_spt
|
||||
hipMemset3D
|
||||
hipMemset3DAsync
|
||||
hipMemset3DAsync_spt
|
||||
hipMemset3D_spt
|
||||
hipMemsetAsync
|
||||
hipMemsetAsync_spt
|
||||
hipMemsetD16
|
||||
hipMemsetD16Async
|
||||
hipMemsetD32
|
||||
hipMemsetD32Async
|
||||
hipMemsetD8
|
||||
hipMemsetD8Async
|
||||
hipMemset_spt
|
||||
hipMipmappedArrayCreate
|
||||
hipMipmappedArrayDestroy
|
||||
hipMipmappedArrayGetLevel
|
||||
hipModuleGetFunction
|
||||
hipModuleGetGlobal
|
||||
hipModuleGetTexRef
|
||||
hipModuleLaunchCooperativeKernel
|
||||
hipModuleLaunchCooperativeKernelMultiDevice
|
||||
hipModuleLaunchKernel
|
||||
hipModuleLoad
|
||||
hipModuleLoadData
|
||||
hipModuleLoadDataEx
|
||||
hipModuleOccupancyMaxActiveBlocksPerMultiprocessor
|
||||
hipModuleOccupancyMaxActiveBlocksPerMultiprocessorWithFlags
|
||||
hipModuleOccupancyMaxPotentialBlockSize
|
||||
hipModuleOccupancyMaxPotentialBlockSizeWithFlags
|
||||
hipModuleUnload
|
||||
hipOccupancyMaxActiveBlocksPerMultiprocessor
|
||||
hipOccupancyMaxActiveBlocksPerMultiprocessorWithFlags
|
||||
hipOccupancyMaxPotentialBlockSize
|
||||
hipPeekAtLastError
|
||||
hipPointerGetAttribute
|
||||
hipPointerGetAttributes
|
||||
hipProfilerStart
|
||||
hipProfilerStop
|
||||
hipRegisterTracerCallback
|
||||
hipRuntimeGetVersion
|
||||
hipSetDevice
|
||||
hipSetDeviceFlags
|
||||
hipSetupArgument
|
||||
hipSignalExternalSemaphoresAsync
|
||||
hipStreamAddCallback
|
||||
hipStreamAddCallback_spt
|
||||
hipStreamAttachMemAsync
|
||||
hipStreamBeginCapture
|
||||
hipStreamBeginCapture_spt
|
||||
hipStreamCreate
|
||||
hipStreamCreateWithFlags
|
||||
hipStreamCreateWithPriority
|
||||
hipStreamDestroy
|
||||
hipStreamEndCapture
|
||||
hipStreamEndCapture_spt
|
||||
hipStreamGetCaptureInfo
|
||||
hipStreamGetCaptureInfo_spt
|
||||
hipStreamGetCaptureInfo_v2
|
||||
hipStreamGetCaptureInfo_v2_spt
|
||||
hipStreamGetDevice
|
||||
hipStreamGetFlags
|
||||
hipStreamGetFlags_spt
|
||||
hipStreamGetPriority
|
||||
hipStreamGetPriority_spt
|
||||
hipStreamIsCapturing
|
||||
hipStreamIsCapturing_spt
|
||||
hipStreamQuery
|
||||
hipStreamQuery_spt
|
||||
hipStreamSynchronize
|
||||
hipStreamSynchronize_spt
|
||||
hipStreamUpdateCaptureDependencies
|
||||
hipStreamWaitEvent
|
||||
hipStreamWaitEvent_spt
|
||||
hipStreamWaitValue32
|
||||
hipStreamWaitValue64
|
||||
hipStreamWriteValue32
|
||||
hipStreamWriteValue64
|
||||
hipTexObjectCreate
|
||||
hipTexObjectDestroy
|
||||
hipTexObjectGetResourceDesc
|
||||
hipTexObjectGetResourceViewDesc
|
||||
hipTexObjectGetTextureDesc
|
||||
hipTexRefGetAddress
|
||||
hipTexRefGetAddressMode
|
||||
hipTexRefGetFilterMode
|
||||
hipTexRefGetFlags
|
||||
hipTexRefGetFormat
|
||||
hipTexRefGetMaxAnisotropy
|
||||
hipTexRefGetMipMappedArray
|
||||
hipTexRefGetMipmapFilterMode
|
||||
hipTexRefGetMipmapLevelBias
|
||||
hipTexRefGetMipmapLevelClamp
|
||||
hipTexRefSetAddress
|
||||
hipTexRefSetAddress2D
|
||||
hipTexRefSetAddressMode
|
||||
hipTexRefSetArray
|
||||
hipTexRefSetBorderColor
|
||||
hipTexRefSetFilterMode
|
||||
hipTexRefSetFlags
|
||||
hipTexRefSetFormat
|
||||
hipTexRefSetMaxAnisotropy
|
||||
hipTexRefSetMipmapFilterMode
|
||||
hipTexRefSetMipmapLevelBias
|
||||
hipTexRefSetMipmapLevelClamp
|
||||
hipTexRefSetMipmappedArray
|
||||
hipThreadExchangeStreamCaptureMode
|
||||
hipUnbindTexture
|
||||
hipUserObjectCreate
|
||||
hipUserObjectRelease
|
||||
hipUserObjectRetain
|
||||
hipWaitExternalSemaphoresAsync
|
BIN
ext/hip_runtime-sys/lib/amdhip64_6.lib
vendored
Normal file
BIN
ext/hip_runtime-sys/lib/amdhip64_6.lib
vendored
Normal file
Binary file not shown.
7422
ext/hip_runtime-sys/src/hip_runtime_api.rs
vendored
Normal file
7422
ext/hip_runtime-sys/src/hip_runtime_api.rs
vendored
Normal file
File diff suppressed because it is too large
Load diff
3
ext/hip_runtime-sys/src/lib.rs
vendored
Normal file
3
ext/hip_runtime-sys/src/lib.rs
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#![allow(warnings)]
|
||||
pub mod hip_runtime_api;
|
||||
pub use hip_runtime_api::*;
|
Loading…
Add table
Add a link
Reference in a new issue