acer

32343 Reputation

29 Badges

19 years, 328 days
Ontario, Canada

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are replies submitted by acer

@Jean-Michel Collard Please provide the real (wall clock) timings for both Maple 2020 as Maple 2021, for both the CUDA and non-CUDA timings separately.

I understand that English is not the native language of all members here, and that is perfectly OK.

But your query, "So what can't I get a better ratio with/without CUDA?" is not clear, or well formed, as an English sentence.

I can think of at least three reasonable -- but quite different -- interpretations of that string of words.

And some good answers may depend on what you already know about parallelized and otherwise optimized implementations of the DGEMM function across different architectures and platforms.

So, could you please explain precisely what you want to ask?

Moreover, you have missed some key details. You gave the ratios for both Maple 2020 and Maple 2021, but you gave the numerator and denominator only for Maple 2021. So we cannot tell whether both or just one of the timings changed for your machine.

(Presumably you are running both Maple versions now to get this data fresh, for this comparison -- and not using data from possibly an older revision of your GPU driver.)

This is very similar to this Question you asked in July, 2019. Query and solution are much the same.

And the techniques that work can also be learned from Answers to additional previous Questions you have posted. The Answers here (July 2019), and here (Oct 2020) are very close in essence. And those here (July 2019), and here (Jan, 2021) are also close enough.

Perhaps you went back to those earlier duplicates and related questions of yours, and did not see how this current example could be handled similarly.

If that is the case then is there something more we could do to help in your understanding of how these commands work?

 

It is not clear what you are trying to ask.

The error message indicates that the GUI plot renderer had received a plot structure that it thinks contains an invalid substructure.

That is pretty much all we can tell from the message itself.

So we need to be able to re-execute, to reproduce the problem, so as to examine the internals of the problematic plotting structure.

Please show not just your procedures, but also the examples of calling them. (Word description is not as helpful.)

You could just upload and attach your .mw file.  Platform/OS details can be helpful.

One good idea is for you to provide code the can be used to reproduce the problem.

You could also attach a worksheet to your Question. Platform details might help.

Form the Help page for Topic solve,ineq

   In general, variables and parameters will automatically be assumed
   to be real-valued in the context of one or more inequalities.

@TechnicalSupport This item is not really about incorporating functionality.

This is about fixing a regression in quite usual functionality. In Maple 2015.2 the following works:

   plots:-matrixplot(<<1,2,3>|<3,4,7>|<4,5,8>>, heights=histogram, color=red);

But in Maple 2016.2 (and on to Maple 2020.1) the data contructed in the COLOR substructure is invalid (the number of entries are wrong, and some of the floats are indexed...)

The primary and central fix should be to restore the proper construction of the COLOR substructure. The fix should not consist primarily of applying options as a final step (eg. using plots:-display, say with _rest, and with or without overrideoption.)

If anyone's interested: the GUI sometimes renders 3D plots as all black when the color data it receives from the kernel is invalid. The CommandLine Interface (CLI) throws an error when running this problematic example in a terminal shell with the default plot-device.

@Anthrazit Your image shows the Help page of the substring command.

Your Post was (only) about the SubString command from the StringTools package. The Help page for that command states,

    All of the StringTools package commands treat strings as (null-terminated)
    sequences of 8-bit (ASCII) characters.  Thus, there is no support for multibyte
    character encodings, such as unicode encodings.

@Anthrazit One of the paragraphs specifically mentions that the command (and the StringTools package) only supports 8-bit ASCII interpretation.

Have you read and understood the Help page for that command?

Is the X-Y grid evenly spaced in both of those directions?

@Ali Hassani Thank you. I'm glad it serves your purpose.

That 3rd procedure is a little hackish, going through strings. It could be done more carefully.

@Joe Riel Incredible.

@Carl Love This is mostly right.

It is not true that libname can only contain references to directories -- it may also contain references to .mla files.

Also you stated, "To make it fully automatic as you describe, you must update the value of libname in your initialization file."  But that is not the only way to do it. A "toolbox" location also works, eg. with "foobar" a name of one's choice,
   cat(kernelopts('homedir'),"/maple/toolbox/foobar/lib")
also works. Or, version specific,
   cat(kernelopts('homedir'),"/maple/toolbox/2020/foobar/lib")
Such locations are automatically added to libname upon launch.

First 137 138 139 140 141 142 143 Last Page 139 of 592