Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Glavnokoman/vuh
/ functions
Functions
206 in github.com/Glavnokoman/vuh
⨍
Functions
206
◇
Types & classes
62
↓ 41 callers
Function
device_begin
src/include/vuh/arr/deviceArray.hpp:234
↓ 30 callers
Function
copy_async
src/include/vuh/arr/copy_async.hpp:178
↓ 19 callers
Method
size
@return number of elements in the view
src/include/vuh/arr/arrayView.hpp:26
↓ 15 callers
Function
swap
Swap the guts of two devices (member-wise)
src/device.cpp:161
↓ 13 callers
Method
wait
Blocks execution of the current thread till the underlying fence is signalled or given time period has elapsed. If the fence was signalled - triggers
src/include/vuh/delayed.hpp:83
↓ 12 callers
Function
array_view
src/include/vuh/arr/arrayView.hpp:37
↓ 12 callers
Method
grid
Specify running batch size (3D). This only sets the dimensions of work batch in units of workgroup, does not start the actual calculation.
src/include/vuh/program.hpp:381
↓ 11 callers
Method
devices
@return vector of available vulkan devices
src/instance.cpp:172
↓ 10 callers
Function
device_end
src/include/vuh/arr/deviceArray.hpp:240
↓ 10 callers
Method
spec
Specify values of specification constants.
src/include/vuh/program.hpp:387
↓ 10 callers
Method
toHost
src/include/vuh/arr/deviceArray.hpp:132
↓ 8 callers
Function
approx
test/correctness/approx.hpp:123
↓ 8 callers
Method
begin
Host-accesible iterator to beginning of array data
src/include/vuh/arr/hostArray.hpp:83
↓ 8 callers
Method
eps
test/correctness/approx.hpp:103
↓ 7 callers
Method
array
@return reference to undelying array
src/include/vuh/arr/arrayIter.hpp:47
↓ 7 callers
Function
copyBuf
Copy data between device buffers using the device transfer command pool and queue. Source and destination buffers are supposed to be allocated on the
src/utils.cpp:25
↓ 7 callers
Method
data
Pointer (host) to beginning of array data
src/include/vuh/arr/hostArray.hpp:87
↓ 6 callers
Method
device
@return reference to device where iterated array is allocated
src/include/vuh/arr/arrayIter.hpp:32
↓ 6 callers
Method
offset
@return offset (number of elements) of the beggining of the span wrt to buffer
src/include/vuh/arr/arrayView.hpp:24
↓ 6 callers
Method
size_bytes
@return number of bytes in the view
src/include/vuh/arr/arrayView.hpp:28
↓ 5 callers
Method
end
Host-accessible iterator to the end (one past the last element) of array data.
src/include/vuh/arr/hostArray.hpp:91
↓ 5 callers
Method
run_async
Run the Program object on previously bound parameters. @return Delayed<Compute> object used for synchronization with host
src/include/vuh/program.hpp:125
↓ 4 callers
Method
computeCmdBuffer
src/include/vuh/device.h:41
↓ 4 callers
Function
filter_list
src/instance.cpp:29
↓ 4 callers
Method
offset
@return offset (number of elements) wrt to beginning of the iterated array
src/include/vuh/arr/arrayIter.hpp:38
↓ 3 callers
Function
allocCmdBuffer
Allocate command buffer
src/device.cpp:57
↓ 3 callers
Method
copy_async
src/include/vuh/arr/copy_async.hpp:55
↓ 3 callers
Function
div_up
@return nearest integer bigger or equal to exact division value
src/include/vuh/utils.h:11
↓ 3 callers
Method
report
Log message using the reporter callback registered with the Vulkan instance. Default callback sends all messages to std::cerr
src/instance.cpp:183
↓ 3 callers
Method
verbose
test/correctness/approx.hpp:48
↓ 2 callers
Method
bind
src/include/vuh/program.hpp:397
↓ 2 callers
Method
computeQueue
@return id of the queue family supporting compute operations
src/device.cpp:207
↓ 2 callers
Method
createPipeline
Create compute pipeline with a given layout. Shader stage info incapsulates the shader and layout&values of specialization constants.
src/device.cpp:213
↓ 2 callers
Method
fromHost
src/include/vuh/arr/deviceArray.hpp:107
↓ 2 callers
Function
getFamilyID
@return preffered family id for the desired queue flags combination, or -1 if none is found. If several queues matching required flags combination is
src/device.cpp:34
↓ 2 callers
Method
instance
src/include/vuh/device.h:34
↓ 2 callers
Method
isHostVisible
@return true if array is host-visible, ie can expose its data via a normal host pointer.
src/include/vuh/arr/basicArray.hpp:67
↓ 2 callers
Function
is_close
test/correctness/approx.hpp:31
↓ 2 callers
Function
read_spirv
Read binary shader file into array of uint32_t. little endian assumed. Padded by 0s to a boundary of 4.
src/utils.cpp:10
↓ 2 callers
Method
run
Run the Program object on previously bound parameters, wait for completion. @pre bacth sizes should be specified before calling this. @pre all paramer
src/include/vuh/program.hpp:114
↓ 2 callers
Method
transferCmdPool
@return handle to command pool for transfer command buffers
src/device.cpp:249
↓ 2 callers
Method
transferQueue
@return i-th queue in the family supporting transfer commands.
src/device.cpp:237
↓ 1 callers
Method
allocMemory
Allocate memory for the buffer.
src/include/vuh/arr/allocDevice.hpp:34
↓ 1 callers
Method
buffer
@return reference to Vulkan buffer of the corresponding array
src/include/vuh/arr/arrayView.hpp:22
↓ 1 callers
Method
computeCmdPool
src/include/vuh/device.h:40
↓ 1 callers
Function
contains
src/instance.cpp:23
↓ 1 callers
Function
createDevice
Create logical device. Compute and transport queue family id may point to the same queue.
src/device.cpp:10
↓ 1 callers
Function
createInstance
Create vulkan Instance with app specific parameters.
src/instance.cpp:86
↓ 1 callers
Method
device_begin
doc me
src/include/vuh/arr/deviceArray.hpp:212
↓ 1 callers
Method
device_end
doc me
src/include/vuh/arr/deviceArray.hpp:216
↓ 1 callers
Function
dscTypesToLayout
src/include/vuh/program.hpp:49
↓ 1 callers
Function
dscinfos2writesets
src/include/vuh/program.hpp:67
↓ 1 callers
Function
filter_extensions
Filter requested extensions, throw away those not present on particular instance. Add default debug extensions to debug build.
src/instance.cpp:64
↓ 1 callers
Function
filter_layers
Filter requested layers, throw away those not present on particular instance. Add default validation layers to debug build.
src/instance.cpp:53
↓ 1 callers
Method
memId
@return memory id on which actual allocation took place.
src/include/vuh/arr/allocDevice.hpp:54
↓ 1 callers
Method
memoryProperties
@return memory property flags of the memory on which actual allocation took place.
src/include/vuh/arr/allocDevice.hpp:60
↓ 1 callers
Method
rangeToHost
src/include/vuh/arr/deviceArray.hpp:181
↓ 1 callers
Function
registerReporter
Register a callback function for the extension VK_EXT_DEBUG_REPORT_EXTENSION_NAME, so that warnings emitted from the validation layer are actually pri
src/instance.cpp:98
↓ 1 callers
Method
release
Release resources associated with current object.
src/include/vuh/program.hpp:200
↓ 1 callers
Method
releaseComputeCmdBuffer
Detach the current compute command buffer for sync operations and create the new one. @return the old buffer handle
src/device.cpp:227
↓ 1 callers
Method
selectMemory
Find first memory matching desired properties. Does NOT check for free space availability, only matches the properties. @return id of the suitable mem
src/device.cpp:186
↓ 1 callers
Method
size
@return number of elements
src/include/vuh/arr/deviceArray.hpp:205
↓ 1 callers
Function
spec2entries
src/include/vuh/program.hpp:32
↓ 1 callers
Function
specs2mapentries
src/include/vuh/program.hpp:59
↓ 1 callers
Method
swap
doc me
src/include/vuh/arr/hostArray.hpp:75
↓ 1 callers
Method
transferCmdBuffer
@return handle to command buffer for syncronous transfer commands
src/device.cpp:252
↓ 1 callers
Function
write_ppm
write array of rgba values to a ppm image.
doc/examples/mandelbrot/main.cpp:9
Method
ApproxIterable
test/correctness/approx.hpp:40
Method
ApproxScalar
test/correctness/approx.hpp:97
Method
ArrayIter
Constructor
src/include/vuh/arr/arrayIter.hpp:20
Method
ArrayView
Constructor
src/include/vuh/arr/arrayView.hpp:17
Method
BasicArray
Construct SBO array of given size in device memory
src/include/vuh/arr/basicArray.hpp:24
Method
Compute
Constructor
src/include/vuh/program.hpp:99
Method
ComputeBuffer
Constructor. Takes ownership over provided buffer.
src/include/vuh/program.hpp:80
Method
Copy
src/include/vuh/arr/copy_async.hpp:171
Method
CopyDevice
src/include/vuh/arr/copy_async.hpp:49
Method
CopyStageFromHost
src/include/vuh/arr/copy_async.hpp:92
Method
CopyStageToHost
Constructor.
src/include/vuh/arr/copy_async.hpp:106
Method
CopyWrapper
src/include/vuh/arr/copy_async.hpp:146
Method
Delayed
Constructor. Takes ownership of the fence. It is assumed that the fence belongs to the same device that is passed together with it.
src/include/vuh/delayed.hpp:35
Method
Device
Constructs logical device wrapping the physical device of the given instance.
src/device.cpp:69
Method
DeviceArray
Create an instance of DeviceArray with given number of elements. Memory is uninitialized.
src/include/vuh/arr/deviceArray.hpp:55
Method
DeviceOnlyArray
Constructs object of the class on given device. Memory is left unintitialized.
src/include/vuh/arr/deviceArray.hpp:28
Method
FileReadFailure
Constructs the exception object with explanatory string.
src/error.cpp:15
Method
HostArray
Construct object of the class on given device. Memory is not initialized with any data.
src/include/vuh/arr/hostArray.hpp:24
Method
Instance
Creates Instance object. In debug build in addition to user-defined layers attempts to load validation layers.
src/instance.cpp:121
Method
Instance
src/include/vuh/instance.h:28
Method
NoSuitableMemoryFound
Constructs the exception object with explanatory string.
src/error.cpp:5
Method
Program
Initialize program on a device using SPIR-V code at a given path
src/include/vuh/program.hpp:364
Method
Program
Initialize program on a device using SPIR-V code at a given path
src/include/vuh/program.hpp:458
Method
ProgramBase
Construct object using given a vuh::Device and path to SPIR-V shader code.
src/include/vuh/program.hpp:138
Method
Resource
src/include/vuh/resource.hpp:12
Method
SetUp
test/performance/array_copy_b.cpp:46
Method
SetUp
test/performance/array_copy_b.cpp:62
Method
SetUp
test/performance/saxpy_b.cpp:41
Method
SetUp
test/performance/saxpy_b.cpp:58
Method
SpecsBase
Construct object using given a vuh::Device and path to SPIR-V shader code.
src/include/vuh/program.hpp:298
Method
SpecsBase
Construct object using given a vuh::Device and path to SPIR-V shader code.
src/include/vuh/program.hpp:329
Method
StdCopy
src/include/vuh/arr/copy_async.hpp:124
Method
TearDown
test/performance/array_copy_b.cpp:55
next →
1–100 of 206, ranked by callers