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.

統計

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

バッジを表示

Feeds

表示方法

回答済み
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...

10日 前 | 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...

18日 前 | 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....

20日 前 | 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...

23日 前 | 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...

24日 前 | 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...

26日 前 | 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?

約2ヶ月 前 | 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...

約2ヶ月 前 | 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 ...

約2ヶ月 前 | 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...

2ヶ月 前 | 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...

2ヶ月 前 | 1

| 採用済み

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

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 2

| 採用済み

回答済み
Multilayer Perceptron with More Than One Output and Data Interpretation?
You can continue to use trainNetwork if you don't want to use dlnetwork. dlnetwork obviously provides much more flexibility as w...

4ヶ月 前 | 0

回答済み
Matlab continuously launching on GPU
Using the NVIDIA Control Panel, disable hardware acceleration for MATLAB. Alternatively, type |opengl software| on startup.

4ヶ月 前 | 0

回答済み
Using transformer neural network for classification task
You've passed |layers| instead of |lgraph| to |trainNetwork|.

4ヶ月 前 | 0

| 採用済み

回答済み
I get the illegal instruction error while running Matlab code with GPU
On the face of it it does seem like you've hit some kind of bug in CUDA 11. If you can upgrade your MATLAB to a more recent vers...

4ヶ月 前 | 0

| 採用済み

回答済み
GPU memory usage for Hadamard product
I can't reproduce this. You say you have 48Gb of GPU memory available...have you checked this? Try running gpuDevice and lookin...

4ヶ月 前 | 0

回答済み
Initializing LSTM which is imported using ONNX
This code is suspect % initialize input arrays obs = dlarray(rand(obs_size),"BS"); state = dlarray(rand(state_size),"SBS"); ...

4ヶ月 前 | 0

回答済み
trainnet gives training loss is NaN
Do your network weights contain NaNs? Try this nansInMyNetwork = ~(all(cellfun(@allfinite, net.Learnables.Value)) && all(cellfu...

5ヶ月 前 | 0

回答済み
how to use printf inside a CUDA kernel?
Just use it, and launch MATLAB from a terminal. On Linux, the output will appear in the terminal window. On Windows you will nee...

5ヶ月 前 | 0

| 採用済み

回答済み
mexcuda compiler error: "__global__" does not apply here
You cannot call a function declared __global__ from another function declared __global__. Declare the second function as __devic...

5ヶ月 前 | 0

| 採用済み

回答済み
CUSOLVER_STATUS_INTERNAL_ERROR with RTX 4080 Super in MATLAB 2022a C MEX Function
This is a known issue with CUDA 11.2, Ada cards, and cusolver. The solution is to upgrade MATLAB to R2023a or above, because it ...

5ヶ月 前 | 1

| 採用済み

回答済み
CUSOLVER_STATUS_INTERNAL_ERROR with RTX 4080 Super in MATLAB 2022a C MEX Function
It's probably necessary for you to provide your code, since any number of things could have gone wrong prior to intializing cuso...

5ヶ月 前 | 0

回答済み
why do I got such a low score when i use bench function in matlab2024a
Do check your computer's power settings, to make sure they are set to "best performance".

5ヶ月 前 | 0

回答済み
Matab is very slow in processing figures: might it be caused by NVidia Optimus?
Check your laptop's power settings and make sure they are in 'best performance' mode.

5ヶ月 前 | 0

| 採用済み

回答済み
Which is the difference between 'multi-gpu' and 'parallel-gpu' in 'trainingOption' function of the DeepLearning Toolbox?
The purpose of 'multi-gpu' is effectively to try to ensure you are using a local pool with numGpus workers, rather than needing ...

5ヶ月 前 | 1

回答済み
MATLAB does not detect NVIDIA T400 GPU despite updated drivers
The 516 driver is too old for R2024a, which is on CUDA 12.2. Download the recommended 552 driver for your T400 from https://www....

5ヶ月 前 | 0

さらに読み込む