search for: mca

Displaying 20 results from an estimated 734 matches for "mca".

Did you mean: mac
2020 Jan 06
2
[EXTERNAL] Get llvm-mca results inside opt?
Andrea, thanks for the advice. On Jan 2, 2020, at 8:09 AM, Andrea Di Biagio <andrea.dibiagio at gmail.com<mailto:andrea.dibiagio at gmail.com>> wrote: Hi Lewis, Basically - if I understand correctly - you want to design a pass that uses llvm-mca as a library to compute throughput indicators for your outlined functions. You would then use those indicators to classify outlined functions. Yes basically, the idea is to build a performance model for that outlined function. llvm-mca doesn't know how to evaluate branches or instructions that...
2018 Nov 21
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...ltiple basic blocks? The current patch does not take into consideration cases where the region start and end intrinsics are placed in different basic blocks. Such would be the case if a region is defined to span multiple blocks. This would be similar to the current case where a user places a #LLVM-MCA-BEGIN assembly comment in one block and an #LLVM-MCA-END in another. However, as you point out below, if the user does this in the source code via intrinsics (just what this patch is proposing), then there is a chance that optimizations might change the layout of the instructions and confuse the o...
2018 Dec 12
4
[RFC] Moving tools/llvm-mca/lib into lib/MCA
(on the correct mailing list) Hi all, tl;dr: We'd like to propose moving tools/llvm-mca/lib into lib/MCA and create a new MCA library in LLVM. llvm-mca has recently been split <https://bugs.llvm.org/show_bug.cgi?id=37696> into its core part and the tool part. - The core part simulates the execution of a basic block of machine instructions as modeled by the llvm Sched...
2019 May 02
2
Llvm-mca library.
Hi Lorenzo, I’ll answer the first question you have: > I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (https://reviews.llvm.org/D50929?id=162210<https://urldefense.proofpoint.com/v2/url?u=https-3A__reviews.llvm.org_D50929-3Fid-3D162210&d=DwMFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=o3kDXzdBUE3ljQXKeTWOMw&m=Eh...
2019 Dec 24
2
Get llvm-mca results inside opt?
...gma omp parallel for for(auto i = 0; i < size; ++i){ // … do work } stop_collecting_parallel_for_data(); The omp region will get outlined into a new function and what I would like to be be able to do in opt is compile just that function to assembly, for some target that I have chosen, run llvm-mca just on that function, and then replace the -1.0s with uOps Per Cycle, IPC, and Block RThroughput so that my logging code has some estimate of the performance of that region. Is there any reasonable way to do this from inside opt? I already have everything in place to find the start_collect_paral...
2018 Nov 27
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
Thanks for clarifying it Matt. In general, I quite like your suggested design. My only concern is about the semantic of the two new intrinsics. You design doesn't allow mca ranges to span through multiple basic blocks. That constraint is acceptable for now, since llvm-mca doesn't know how to deal with control flow. However, I am a bit concerned about what might happen in future if we decide to let users specify code regions that span through multiple basic blocks....
2018 Nov 15
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
Introduction ----------------- Currently llvm-mca only accepts assembly code as input. We would like to extend llvm-mca to support object files, allowing users to analyze the performance of binaries. The proposed changes (which involve both clang and llvm) optionally introduce an object file section, but this can be stripped-out if desired. For t...
2019 May 03
3
Llvm-mca library.
...t; I read that out-of-order cores are supported. How about in-order cores? > Would it be easy/difficult to add support for that? > > Cheers, > Sjoerd. > > I don't think that it would be difficult to support in-order superscalar cores. However, it would require a different llvm-mca pipeline of stages. That is because some stages (and simulated hardware components) work under the assumption that the processor is out-of-order (example: the dispatch stage and the retire stage). That being sadi, it would be a bit more complicated to add support instruction itineraries. At the mom...
2018 Dec 03
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...a Di Biagio <andrea.dibiagio at gmail.com> > wrote: > > > Thanks for clarifying it Matt. > > > > In general, I quite like your suggested design. > > > > My only concern is about the semantic of the two new intrinsics. You > > design doesn't allow mca ranges to span through multiple basic blocks. That > > constraint is acceptable for now, since llvm-mca doesn't know how to deal > > with control flow. > > However, I am a bit concerned about what might happen in future if we > > decide to let users specify code regions...
2018 Dec 10
4
[RFC][llvm-mca] Adding binary support to llvm-mca.
Hi Matt, I can see a near future where perf-analysis tooling uses branch history profiler captures to determine how often loops/branches are taken and feeds that into llvm-mca, especially for hot/branchy loop analysis reports etc. Are you confident that your approach will be easily extendable for this? Similarly, being able to generally embed the profile markers in object libraries for reuse is going to be important for some people - I'd like to see more of a pl...
2019 May 02
2
Llvm-mca library.
Hi All, I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (https://reviews.llvm.org/D50929?id=162210 <https://reviews.llvm.org/D50929?id=162210>) but I have troubles understanding how to use it. Could you please point me to some documentations or (better) some code ex...
2013 Apr 02
2
R Commander and FactoMineR
Dear Users, I helped to install R Commander and FactoMineR to one of my collegaues. He wanted to do an MCA. Selecting three variables and using the default settings results in only one graph, the variables representation, where he gets three points for the three variables (which is totally fine). Running the code (output of the point-and-click method) EuTop100.MCA<-EuTop100[, c("ország", &...
2018 Dec 10
2
[RFC][llvm-mca] Adding binary support to llvm-mca.
...gle.com> wrote: > Hi Matt/Andrea, > > I see pros and cons for IACA-style markers vs intrinsics. > On the one hand, IACA-style markers are very magical, and not very visible > in both the source and object code. Using IACA-style markers has the > advantage that you can use llvm-mca as a drop-in replacement for IACA, or > even to compare their outputs on the exact same binary. They also do not > require tooling on the compiler side and allow comparing the output of > several compilers. > On the other hand, IACA-style markers do not have a equivalent on other > a...
2008 Dec 15
8
[PATCH 0/2] MCA support with page offlining
Hi all, I had posted about MCA support for Intel64 before. It had only a function to log the MCA error data received from hypervisor. http://lists.xensource.com/archives/html/xen-devel/2008-09/msg00876.html I attach patches that support not only error logging but also Page Offlining function. The page where an MCA occurs will...
2007 Jan 31
2
mca-graphics: all elements overlapping in the help-example for multiple correspondence analysis
Dear all, I tried out the example in the help document for mca (the multiple correspondence analysis of the MASS package): farms.mca <- mca(farms, abbrev=TRUE) farms.mca plot(farms.mca) But the graphic that I get seems unfeasible to me: I cannot recognize the numbers (printed in black) because they are all overlapping and concealing each other. I don ?t...
2004 Dec 19
1
how to make the matrix as factors
Hi All, Thanks for you help, I have loaded the library MASS to call the mca. But when I want to do the mca, there is another problem, for example -------- -------- > leaf <- read.table("C:/Documents and Settings/wxh-c/×ÀÃæ/1.txt", + col.names=c("size","texture"),header=TRUE) > leaf size texture 1 3 3 2 2 2 3...
2013 Jun 01
1
error about MCA
Hi,all: I want to perform multiple correspondance analysis via MCA{FactoMineR}. The data is in the attachment. My code: dat<-read.delim("e:\\mydata.txt",header=T) MCA(dat,quanti.sup=7,quali.sup=1:6) Error in `[.data.frame`(tab, , i) : undefined columns selected My question: Why does the error happen? Many thanks. Best. -------------- next part -...
2001 Mar 13
1
3d plots of mca() results?
Greetings. I'm about to embark on my first big (to me at least!) R project, which will be to write a function to plot three-dimensional multiple correspondence analysis (mca) plots in a manner similar to scatterplot3d(). (plot.mca() plots only two dimensions, even though mca() will calculate more.) Before I do so, however, I would love to know that I'm not reinventing the wheel or any other similarly common implements. Has anyone done this before? Many thanks. -...
2007 Dec 17
1
HA-NFS AND HA-ZFS
We are currently running sun cluster 3.2 on solaris 10u3. We are using ufs/vxvm 4.1 as our shared file systems. However, I would like to migrate to HA-NFS on ZFS. Since there is no conversion process from UFS to ZFS other than copy, I would like to migrate on my own time. To do this I am planning to add a new zpool HAStoragePlus resource to my existing HA-NFS resource group. This way I can migrate
2004 Dec 18
2
For help
Hi During using the R(vision 2.0.1), I meet a problem. I would like to do the Multiple Correspondence Analysis, but when I use the "< mca(lf, nf = 2, abbrev = FALSE)", the sentence "Error: couldn't find function 'mca'" will appear. So, please tell me how can I use the "mca()", thanks! Any help appreciated.......