photo

Joss Knight

MathWorks

Last seen: 1日 前 2013 年からアクティブ

Followers: 0   Following: 0

Although I cannot be contacted directly, if you would like to ask me a question all you have to do is mention "GPU" somewhere in your MATLAB Answers question.

統計

MATLAB Answers

0 質問
615 回答

ランク
83
of 300,442

評判
1,792

コントリビューション
0 質問
615 回答

回答採用率
0.00%

獲得投票数
331

ランク
 of 21,002

評判
N/A

平均評価
0.00

コントリビューション
0 ファイル

ダウンロード
0

ALL TIME ダウンロード
0

ランク

of 168,928

コントリビューション
0 問題
0 解答

スコア
0

バッジ数
0

コントリビューション
0 投稿

コントリビューション
0 パブリック チャネル

平均評価

コントリビューション
0 ハイライト

平均いいねの数

  • Guiding Light
  • 36 Month Streak
  • Knowledgeable Level 5
  • Revival Level 2
  • First Answer

バッジを表示

Feeds

表示方法

回答済み
Inquiry on Time Complexity of cumsum
We don't typically give details of our algorithm implementations, not least because they will vary by platform, release, data ty...

3ヶ月 前 | 1

回答済み
Nvidia GPU GeForce 5060-5090
Hello! Walter has the 'raw' answer. The practical answer is that I haven't yet seen any problems with MATLAB R2024b and R2025a r...

4ヶ月 前 | 1

回答済み
Different results accross multiple runs
It might help to follow some of the suggestions here, even if you are not using a GPU: https://uk.mathworks.com/help/deeplearni...

4ヶ月 前 | 1

| 採用済み

回答済み
NVIDIA 5090 in 2024b
We don't test MATLAB under forward compatibility, in the past it has had missing features in some NVIDIA libraries, and by its n...

5ヶ月 前 | 2

回答済み
toolboxes appear to be improperly installed, matlab unable to locate basic functionalities from the parallel processing toolbox even though I see them in my directory
Hi Benjamin! To compile a mex function which can receive or return gpuArray objects, you need to use the mexcuda command. This w...

6ヶ月 前 | 0

回答済み
Getting started with cuda in matlab and running into errors
I'm not sure about this one. Since your code only has one kernel, try removing the third argument to |CUDAKernel|. Also try reco...

7ヶ月 前 | 0

回答済み
GPU Recommendation for XGBoost with MATLAB R2022b
Yes, MATLAB R2022b supports these GPUs.

7ヶ月 前 | 2

回答済み
The adamupdate function in MATLAB R2024b incorrectly uses uint32 with sqrt and exhibits state corruption, causing errors even in minimal test cases."
Well, I admit the error messages aren't very helpful but the basic problem is that passing a trainingOptions object in as an arg...

8ヶ月 前 | 0

| 採用済み

回答済み
Load multiple Files from fileDatastore in minibatchqueue
Does the training option PreprocessingEnvironment set to 'background' not work for you? Or is this a custom training loop?

8ヶ月 前 | 0

| 採用済み

回答済み
mexcuda Compile CUDA code with child kernels
I think the problem might be that you're trying to do the device binary linking yourself, whereas mexcuda is taking care of that...

8ヶ月 前 | 0

| 採用済み

回答済み
How to prepare irregularly spaced time-series data for classification using LSTM
It seems like your observations (batch) are the days, time is the rows and you perhaps have two channels in the first two column...

9ヶ月 前 | 0

| 採用済み

回答済み
How to get a dlgradient result for a blackbox function
Hi Fernando. The hardcore solution to your problem (after using Matt's solution) is to implement the sparse matrix multiply func...

9ヶ月 前 | 0

回答済み
Does gather() clear memory
|gather| creates a copy of the array in main memory. Clearing a |gpuArray| variable will release its memory. So if you replace a...

10ヶ月 前 | 1

| 採用済み

回答済み
MATLAB R2024b GPU validation device fail for Multi-Instance GPU (MIG) A100
Try running nvidia-smi -L in a terminal to get the UUID of the device, and then set CUDA_VISIBLE_DEVICES to that full UUID inste...

10ヶ月 前 | 0

回答済み
How to use both GPU devices in the laptop
You cannot use your Intel Iris GPU for numerical computation in MATLAB. The best way to use both GPUs is to make sure your integ...

11ヶ月 前 | 1

回答済み
How to perform feval function operation correctly on multiple GPUs
What you have passed to parallel.pool.Constant is a function that returns the captured object; what you wanted was a function th...

12ヶ月 前 | 2

| 採用済み

回答済み
slow imwarp with large arrays
I think the documentation is just referring to using the GPU or the ability to process in the background using backgroundPool to...

約1年 前 | 0

| 採用済み

回答済み
CUDA seems not to be supported
MATLAB does not use the toolkit that you download, it installs its own version. You cannot change it by downloading the toolkit....

約1年 前 | 1

回答済み
"Maximum variable size allowed on the device is exceeded." when using predict on GPU
Is there a way to force predict to use CPU? Yes. Pass data in as an in-memory array. If your data is on the device, you may nee...

約1年 前 | 0

| 採用済み

回答済み
Why is pagemtimes slower than just coding up the matrix multiplication?Especially on GPU.
Your implementation is incorrect I'm afraid, you are using elementwise times rather than mtimes. You are also using timeit inste...

約1年 前 | 4

回答済み
gpuArray size limit is much less than the GPU maximum memory
See https://uk.mathworks.com/matlabcentral/answers/2145604-gpu-array-max-dimensions-size-i-e-int32-of-2e9-not-same-as-other-cud...

約1年 前 | 1

回答済み
For Matlab R2021a, How can Visual Studio be selected as the compiler for C/C++
Using a 2022 compiler with a 2021 MATLAB isn't a supported workflow. Can you upgrade MATLAB?

約1年 前 | 0

| 採用済み

回答済み
Retraining YAMNet for audio classification returns channel mismatch error in "deep.internal.train.Trainer/train"
I think the issue will be that your label data is a categorical type with three categories. Run categories(trainLabels) to con...

約1年 前 | 0

| 採用済み

回答済み
Retraining YAMNet for audio classification returns channel mismatch error in "deep.internal.train.Trainer/train"
It looks like your network is returning output with three channels instead of two. Could you try running analyzeNetwork(net) to ...

約1年 前 | 0

回答済み
gpu output array wrong dimensions
The outputs of your kernel will be the non-const pointer inputs to your kernel in the order they appear in your function signatu...

約1年 前 | 0

| 採用済み

回答済み
Error in index returned by max() in the second dimension in obscure case
Thank you! You have found a bug in MATLAB's GPU support. The computation of the indices is wrong when reducing along the rows an...

約1年 前 | 1

| 採用済み

回答済み
Matlab Support for float32/single and float16/half datatypes in GPU Sparse Matrix Multiplication
Half support is not currently planned for sparse.

約1年 前 | 3

回答済み
Error: "Incorrect type of 'Z' for 'predict' in Layer 'samplelayer'. Expected 'gpuArray', but instead was 'single'." This error is shown during using a custom deep layer.
Hello. You need to return an array of the same data type and storage type as the input. Somehow your data is no longer on the GP...

約1年 前 | 0

| 採用済み

回答済み
Speeding up matrix expotentials by using GPU
Your GTX 1650 is designed for single precision computing. In single precision it has a peak performance of about 3 teraflops, wh...

約1年 前 | 3

| 採用済み

回答済み
GPU Array Max Dimensions/Size (i.e., int32 of ~2e9) Not Same as Other CUDA-Enabled Languages (i.e., Python 3.9 - Tensorflow 2.11)
In CUDA 12 NVIDIA introduced a limited set of 64-bit integer APIs in cublas and other libraries, allowing arrays with more eleme...

約1年 前 | 2

| 採用済み

さらに読み込む