Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnswerDotAI/gpu.cpp
/ types & classes
Types & classes
52 in github.com/AnswerDotAI/gpu.cpp
⨍
Functions
200
◇
Types & classes
52
↓ 4 callers
Class
half
numeric_types/half.hpp:54
↓ 1 callers
Class
KernelPool
* @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 callers
Class
TensorPool
* @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
Class
Activations
experimental/legacy/transformer/run.cpp:101
Class
AdapterData
gpu.hpp:791
Class
AdapterData
examples/webgpu_from_scratch/run.cpp:124
Class
Array
* @brief Represents a buffer of values on the GPU. */
gpu.hpp:38
Class
AttentionParams
experimental/kernels/ops.cpp:238
Class
AttentionParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:292
Class
Bindings
gpu.hpp:130
Class
Buffer
experimental/legacy/audio/run.cpp:14
Class
CallbackData
* @brief Used for on-done callback data for asynchronous operations sduch as * kernel launching. */
gpu.hpp:430
Class
CallbackData
examples/webgpu_from_scratch/run.cpp:355
Class
CompilationInfo
* @brief A struct to package the result of a WGSL code compilation. */
gpu.hpp:469
Class
Context
gpu.hpp:178
Class
CopyData
* @brief Staging buffer and callback data for copying data between the GPU and * CPU. */
gpu.hpp:443
Class
CrossEntropyParams
experimental/kernels/ops.cpp:401
Class
CrossEntropyParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:462
Class
CrossEntropySoftmaxBackwardParams
experimental/kernels/ops.cpp:432
Class
CrossEntropySoftmaxBackwardParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:494
Class
DeviceData
gpu.hpp:830
Class
DeviceData
examples/webgpu_from_scratch/run.cpp:146
Class
DoxygenAwesomeDarkModeToggle
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
Class
EncoderParams
experimental/kernels/ops.cpp:19
Class
EncoderParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:61
Class
GPUActivations
experimental/kernels/gpt2_webgpu.cpp:198
Class
GPUParameters
experimental/kernels/gpt2_webgpu.cpp:194
Class
KVCache
experimental/legacy/transformer/run.cpp:107
Class
Kernel
* @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
Class
KernelCode
* @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
Class
LNParam
experimental/legacy/transformer/test_kernels.cpp:169
Class
LayerNormParams
experimental/kernels/ops.cpp:91
Class
LayerNormParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:135
Enum
LogLevel
utils/logging.hpp:11
Class
Logger
* @brief Logger struct for logging messages. * stream: The stream to log to. * level: The log level to log messages at. */
utils/logging.hpp:27
Class
MatmulParams
experimental/kernels/ops.cpp:162
Class
MatmulParams
experimental/kernels/unittest_llmc/unittest_kernels.cpp:208
Class
NoParam
* @brief NoParam is a no-op type used to indicate that a kernel does not have * any parameters. */
gpu.hpp:1166
Enum
NumType
gpu.hpp:197
Class
Params
examples/gpu_puzzles/key.cpp:144
Class
Params
examples/gpu_puzzles/run.cpp:129
Class
Params
examples/render/run.cpp:97
Class
Params
examples/shadertui/run.cpp:85
Class
Shape
* @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
Class
SoftmaxParam
experimental/legacy/transformer/test_kernels.cpp:220
Class
SoftmaxParam
experimental/kernels/ops.cpp:376
Class
SoftmaxParam
experimental/kernels/unittest_llmc/unittest_kernels.cpp:436
Class
Tensor
* @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
Class
TensorView
* @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
Class
Transformer
experimental/legacy/transformer/run.cpp:92
Class
timespec
experimental/kernels/gpt2_webgpu.cpp:694