MCPcopy Create free account

hub / github.com/AnswerDotAI/gpu.cpp / types & classes

Types & classes52 in github.com/AnswerDotAI/gpu.cpp

↓ 4 callersClasshalf
numeric_types/half.hpp:54
↓ 1 callersClassKernelPool
* @brief A pool of kernels to manage GPU resources. For simple use cases this * is instantiated as a member in the Context struct although it's possi
gpu.hpp:492
↓ 1 callersClassTensorPool
* @brief Represents a pool of tensors to manage GPU resources. The pool is * responsible for managing the lifetime of the tensors and freeing them wh
gpu.hpp:190
Class
docs/doxygen-awesome/doxygen-awesome-darkmode-toggle.js:30
ClassActivations
experimental/legacy/transformer/run.cpp:101
ClassAdapterData
gpu.hpp:791
ClassAdapterData
examples/webgpu_from_scratch/run.cpp:124
ClassArray
* @brief Represents a buffer of values on the GPU. */
gpu.hpp:38
ClassAttentionParams
experimental/kernels/ops.cpp:238
ClassAttentionParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:292
ClassBindings
gpu.hpp:130
ClassBuffer
experimental/legacy/audio/run.cpp:14
ClassCallbackData
* @brief Used for on-done callback data for asynchronous operations sduch as * kernel launching. */
gpu.hpp:430
ClassCallbackData
examples/webgpu_from_scratch/run.cpp:355
ClassCompilationInfo
* @brief A struct to package the result of a WGSL code compilation. */
gpu.hpp:469
ClassContext
gpu.hpp:178
ClassCopyData
* @brief Staging buffer and callback data for copying data between the GPU and * CPU. */
gpu.hpp:443
ClassCrossEntropyParams
experimental/kernels/ops.cpp:401
ClassCrossEntropyParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:462
ClassCrossEntropySoftmaxBackwardParams
experimental/kernels/ops.cpp:432
ClassCrossEntropySoftmaxBackwardParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:494
ClassDeviceData
gpu.hpp:830
ClassDeviceData
examples/webgpu_from_scratch/run.cpp:146
ClassDoxygenAwesomeDarkModeToggle
Doxygen Awesome https://github.com/jothepro/doxygen-awesome-css MIT License Copyright (c) 2021 - 2023 jothepro Permission is hereby granted, free o
docs/doxygen-awesome/doxygen-awesome-darkmode-toggle.js:30
ClassEncoderParams
experimental/kernels/ops.cpp:19
ClassEncoderParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:61
ClassGPUActivations
experimental/kernels/gpt2_webgpu.cpp:198
ClassGPUParameters
experimental/kernels/gpt2_webgpu.cpp:194
ClassKVCache
experimental/legacy/transformer/run.cpp:107
ClassKernel
* @brief Represents handles + metadata for a reusable kernel on the GPU. * The struct members can be divided into "consumed upon dispatch" * (comman
gpu.hpp:455
ClassKernelCode
* @brief KernelCode is the representation of WGSL GPU code with template * substitutions applied. It is a type around the code string with additional
gpu.hpp:291
ClassLNParam
experimental/legacy/transformer/test_kernels.cpp:169
ClassLayerNormParams
experimental/kernels/ops.cpp:91
ClassLayerNormParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:135
EnumLogLevel
utils/logging.hpp:11
ClassLogger
* @brief Logger struct for logging messages. * stream: The stream to log to. * level: The log level to log messages at. */
utils/logging.hpp:27
ClassMatmulParams
experimental/kernels/ops.cpp:162
ClassMatmulParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:208
ClassNoParam
* @brief NoParam is a no-op type used to indicate that a kernel does not have * any parameters. */
gpu.hpp:1166
EnumNumType
gpu.hpp:197
ClassParams
examples/gpu_puzzles/key.cpp:144
ClassParams
examples/gpu_puzzles/run.cpp:129
ClassParams
examples/render/run.cpp:97
ClassParams
examples/shadertui/run.cpp:85
ClassShape
* @brief Represents the shape of a tensor. * * The rank of the tensor is the * number of dimensions in the shape. The data array stores the size of
gpu.hpp:55
ClassSoftmaxParam
experimental/legacy/transformer/test_kernels.cpp:220
ClassSoftmaxParam
experimental/kernels/ops.cpp:376
ClassSoftmaxParam
experimental/kernels/unittest_llmc/unittest_kernels.cpp:436
ClassTensor
* @brief Represents a tensor on the GPU, which is a buffer of values with a * shape. * * @code * Tensor tensor = createTensor(ctx, {256, 256}, kf3
gpu.hpp:102
ClassTensorView
* @brief Represents a non-owning view into a tensor specifying an offset and a * subspan. This is useful for specifying a slice of a tensor on the GP
gpu.hpp:116
ClassTransformer
experimental/legacy/transformer/run.cpp:92
Classtimespec
experimental/kernels/gpt2_webgpu.cpp:694